2011-03-10 16:57:22 +00:00
|
|
|
Index: mpd-0.16.1/configure
|
2010-11-03 23:18:21 +00:00
|
|
|
===================================================================
|
2011-03-10 16:57:22 +00:00
|
|
|
--- mpd-0.16.1.orig/configure 2011-01-10 02:58:36.000000000 +0100
|
|
|
|
+++ mpd-0.16.1/configure 2011-03-10 13:01:31.000000000 +0100
|
|
|
|
@@ -8718,6 +8718,7 @@
|
2010-11-03 23:18:21 +00:00
|
|
|
# Check whether --with-faad was given.
|
|
|
|
if test "${with_faad+set}" = set; then :
|
|
|
|
withval=$with_faad;
|
|
|
|
+ faad_prefix=$with_faad;
|
|
|
|
else
|
|
|
|
faad_prefix=""
|
|
|
|
fi
|
2011-03-10 16:57:22 +00:00
|
|
|
Index: mpd-0.16.1/src/input/file_input_plugin.c
|
2010-11-03 23:18:21 +00:00
|
|
|
===================================================================
|
2011-03-10 16:57:22 +00:00
|
|
|
--- mpd-0.16.1.orig/src/input/file_input_plugin.c 2011-01-10 02:58:08.000000000 +0100
|
|
|
|
+++ mpd-0.16.1/src/input/file_input_plugin.c 2011-03-10 13:02:15.000000000 +0100
|
|
|
|
@@ -79,10 +79,6 @@
|
|
|
|
return false;
|
|
|
|
}
|
2010-11-03 23:18:21 +00:00
|
|
|
|
|
|
|
-#ifdef POSIX_FADV_SEQUENTIAL
|
2011-03-10 16:57:22 +00:00
|
|
|
- posix_fadvise(fd, (off_t)0, st.st_size, POSIX_FADV_SEQUENTIAL);
|
2010-11-03 23:18:21 +00:00
|
|
|
-#endif
|
|
|
|
-
|
2011-03-10 16:57:22 +00:00
|
|
|
fis = g_new(struct file_input_stream, 1);
|
|
|
|
input_stream_init(&fis->base, &input_plugin_file, filename);
|
|
|
|
|