packages/sound/mpd/patches/100-compile-fixes.patch
hauke 63626f93cd sound/mpd: update to mpd 0.16.8
updating to latest mpd requres more work on dependencies
(libmms,libaudiofile,libstdcpp)

- mpd isn't hosted on sourceforge anymore

- fix: #14422
Issue 1: could not replicate
Issue 2: update to last mpd 0.16 series fixes compile,
its linked to ffmpeg version

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@39540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-02-08 18:04:03 +00:00

24 lines
587 B
Diff

--- a/configure
+++ b/configure
@@ -8803,6 +8803,7 @@ fi
# Check whether --with-faad was given.
if test "${with_faad+set}" = set; then :
withval=$with_faad;
+ faad_prefix=$with_faad;
else
faad_prefix=""
fi
--- a/src/input/file_input_plugin.c
+++ b/src/input/file_input_plugin.c
@@ -79,10 +79,6 @@ input_file_open(const char *filename, GE
return false;
}
-#ifdef POSIX_FADV_SEQUENTIAL
- posix_fadvise(fd, (off_t)0, st.st_size, POSIX_FADV_SEQUENTIAL);
-#endif
-
fis = g_new(struct file_input_stream, 1);
input_stream_init(&fis->base, &input_plugin_file, filename);