mpd: uClibc-0.9.31 fix
authorMichael Büsch <mb@bu3sch.de>
Wed, 3 Nov 2010 23:18:21 +0000 (23:18 +0000)
committerMichael Büsch <mb@bu3sch.de>
Wed, 3 Nov 2010 23:18:21 +0000 (23:18 +0000)
SVN-Revision: 23846

sound/mpd/patches/100-compile-fixes.patch [new file with mode: 0644]
sound/mpd/patches/diff.patch [deleted file]

diff --git a/sound/mpd/patches/100-compile-fixes.patch b/sound/mpd/patches/100-compile-fixes.patch
new file mode 100644 (file)
index 0000000..775bdc9
--- /dev/null
@@ -0,0 +1,27 @@
+Index: mpd-0.15.8/configure
+===================================================================
+--- mpd-0.15.8.orig/configure  2010-11-04 00:14:37.187000000 +0100
++++ mpd-0.15.8/configure       2010-11-04 00:15:00.156000001 +0100
+@@ -9191,6 +9191,7 @@
+ # Check whether --with-faad was given.
+ if test "${with_faad+set}" = set; then :
+   withval=$with_faad;
++  faad_prefix=$with_faad;
+ else
+   faad_prefix=""
+ fi
+Index: mpd-0.15.8/src/input/file_input_plugin.c
+===================================================================
+--- mpd-0.15.8.orig/src/input/file_input_plugin.c      2010-11-04 00:15:41.467000002 +0100
++++ mpd-0.15.8/src/input/file_input_plugin.c   2010-11-04 00:15:49.194999211 +0100
+@@ -65,10 +65,6 @@
+       is->size = st.st_size;
+-#ifdef POSIX_FADV_SEQUENTIAL
+-      posix_fadvise(fd, (off_t)0, is->size, POSIX_FADV_SEQUENTIAL);
+-#endif
+-
+       is->plugin = &input_plugin_file;
+       is->data = GINT_TO_POINTER(fd);
+       is->ready = true;
diff --git a/sound/mpd/patches/diff.patch b/sound/mpd/patches/diff.patch
deleted file mode 100644 (file)
index 7a9791f..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
---- mpd-0.15.9/configure.orig  2010-04-13 22:40:51.998295776 +0200
-+++ mpd-0.15.9/configure       2010-04-13 22:41:15.868300133 +0200
-@@ -9162,6 +9162,7 @@
- # Check whether --with-faad was given.
- if test "${with_faad+set}" = set; then :
-   withval=$with_faad;
-+  faad_prefix=$with_faad;
- else
-   faad_prefix=""
- fi