summaryrefslogtreecommitdiff
path: root/package/mpd
diff options
context:
space:
mode:
Diffstat (limited to 'package/mpd')
-rw-r--r--package/mpd/Makefile2
-rw-r--r--package/mpd/patches/patch-src_listen_h11
2 files changed, 12 insertions, 1 deletions
diff --git a/package/mpd/Makefile b/package/mpd/Makefile
index 65baca748..d8118809a 100644
--- a/package/mpd/Makefile
+++ b/package/mpd/Makefile
@@ -18,7 +18,7 @@ $(eval $(call PKG_template,MPD,mpd,${PKG_VERSION}-${PKG_RELEASE}))
CONFIGURE_STYLE:= gnu
BUILD_STYLE:= auto
INSTALL_STYLE:= auto
-XAKE_FLAGS+= MPD_CFLAGS=''
+XAKE_FLAGS+= MPD_CFLAGS='-D_GNU_SOURCE'
PKG_DEPENDS:= glib2 alsa-lib libcurl
CONFIGURE_ARGS+= \
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;
+