summaryrefslogtreecommitdiff
path: root/package/mpd
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2009-05-29 13:13:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2009-05-29 13:13:17 +0200
commit7047a0b2b2d18d51594cad92d5356bd626da063d (patch)
tree7b89508846229d6b0c287a89094c5bf86cbe6800 /package/mpd
parentbad63eb735b13e1f009a19af1dd810f7279c2ba1 (diff)
add lemote / loongson2f target support (no runtime tests yet)
- update glibc to latest version (GIT), tarball includes glibc-ports needed for MIPS architecture - fix building of toolchain for mips64el glibc/uclibc - use /lib instead of /lib64 (no biarch support) - fix X11 dependencies in build system - fix glibc build errors for openldap, libnl, mpd and rtorrent - verified toolchain changes on alix1c
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;
+