[packages] mpd: update to 0.16.1 and refresh patches
[openwrt/svn-archive/archive.git] / sound / mpd / patches / 100-compile-fixes.patch
1 Index: mpd-0.16.1/configure
2 ===================================================================
3 --- mpd-0.16.1.orig/configure 2011-01-10 02:58:36.000000000 +0100
4 +++ mpd-0.16.1/configure 2011-03-10 13:01:31.000000000 +0100
5 @@ -8718,6 +8718,7 @@
6 # Check whether --with-faad was given.
7 if test "${with_faad+set}" = set; then :
8 withval=$with_faad;
9 + faad_prefix=$with_faad;
10 else
11 faad_prefix=""
12 fi
13 Index: mpd-0.16.1/src/input/file_input_plugin.c
14 ===================================================================
15 --- mpd-0.16.1.orig/src/input/file_input_plugin.c 2011-01-10 02:58:08.000000000 +0100
16 +++ mpd-0.16.1/src/input/file_input_plugin.c 2011-03-10 13:02:15.000000000 +0100
17 @@ -79,10 +79,6 @@
18 return false;
19 }
20
21 -#ifdef POSIX_FADV_SEQUENTIAL
22 - posix_fadvise(fd, (off_t)0, st.st_size, POSIX_FADV_SEQUENTIAL);
23 -#endif
24 -
25 fis = g_new(struct file_input_stream, 1);
26 input_stream_init(&fis->base, &input_plugin_file, filename);
27