diff options
Diffstat (limited to 'package/mpd')
-rw-r--r-- | package/mpd/Makefile | 2 | ||||
-rw-r--r-- | package/mpd/patches/patch-src_listen_h | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/package/mpd/Makefile b/package/mpd/Makefile index b18836d8d..83cc3ad49 100644 --- a/package/mpd/Makefile +++ b/package/mpd/Makefile @@ -46,7 +46,7 @@ $(eval $(call PKG_template,MPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_D CONFIGURE_STYLE:= gnu BUILD_STYLE:= auto INSTALL_STYLE:= auto -XAKE_FLAGS+= MPD_CFLAGS='' +XAKE_FLAGS+= MPD_CFLAGS='-D_GNU_SOURCE' CONFIGURE_ARGS+= \ --enable-alsa \ diff --git a/package/mpd/patches/patch-src_listen_h b/package/mpd/patches/patch-src_listen_h new file mode 100644 index 000000000..e14baa2bb --- /dev/null +++ b/package/mpd/patches/patch-src_listen_h @@ -0,0 +1,11 @@ +$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ +--- mpd-0.14.2.orig/src/listen.h 2009-02-13 17:12:00.000000000 +0100 ++++ mpd-0.14.2/src/listen.h 2009-05-29 00:49:32.000000000 +0200 +@@ -20,6 +20,7 @@ + #define MPD_LISTEN_H + + #include <sys/select.h> ++#include <linux/socket.h> + + extern int boundPort; + |