diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-18 09:48:30 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2013-09-18 09:48:30 +0200 |
commit | 6d0e8b653345047f932fe74163327d363e2d4ac5 (patch) | |
tree | f47a4e7896184662c507b4f282ff6358a7995611 /package | |
parent | 0e4becbbfdcbd1404b28183ddcddae1ffc352a78 (diff) |
update and fix musl compile
Diffstat (limited to 'package')
-rw-r--r-- | package/mpd/Makefile | 8 | ||||
-rw-r--r-- | package/mpd/patches/patch-src_output_alsa_plugin_c | 16 |
2 files changed, 4 insertions, 20 deletions
diff --git a/package/mpd/Makefile b/package/mpd/Makefile index 276a223ae..abd47f4e7 100644 --- a/package/mpd/Makefile +++ b/package/mpd/Makefile @@ -4,9 +4,9 @@ include ${TOPDIR}/rules.mk PKG_NAME:= mpd -PKG_VERSION:= 0.17.4 -PKG_RELEASE:= 8 -PKG_MD5SUM:= ab408a61f49f215ce77ed0cf1deed6e1 +PKG_VERSION:= 0.17.5 +PKG_RELEASE:= 1 +PKG_MD5SUM:= b68be330deeb23989c08a9fefd9fcdeb PKG_DESCR:= A music player daemon PKG_SECTION:= multimedia PKG_DEPENDS:= glib libstdcxx @@ -105,8 +105,8 @@ include ${TOPDIR}/mk/package.mk $(eval $(call PKG_template,MPD,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_FDEPENDS},${PKG_DESCR},${PKG_SECTION})) +TARGET_CPPFLAGS+= -D_GNU_SOURCE -D_POSIX_SOURCE TARGET_CFLAGS+= -std=gnu99 -XAKE_FLAGS+= MPD_CFLAGS='-D_GNU_SOURCE' CONFIGURE_ENV+= ac_cv_lib_nsl_gethostbyname=no CONFIGURE_ARGS+= --disable-httpd-output \ --disable-jack \ diff --git a/package/mpd/patches/patch-src_output_alsa_plugin_c b/package/mpd/patches/patch-src_output_alsa_plugin_c deleted file mode 100644 index 98479eb7d..000000000 --- a/package/mpd/patches/patch-src_output_alsa_plugin_c +++ /dev/null @@ -1,16 +0,0 @@ -* will be better solved in mpd 1.16.4 - ---- mpd-0.16.2.orig/src/output/alsa_plugin.c 2011-03-19 01:41:53.000000000 +0100 -+++ mpd-0.16.2/src/output/alsa_plugin.c 2011-05-14 13:44:14.000000000 +0200 -@@ -646,8 +646,9 @@ alsa_play(void *data, const void *chunk, - while (true) { - snd_pcm_sframes_t ret = ad->writei(ad->pcm, chunk, size); - if (ret > 0) { -- ad->period_position = (ad->period_position + ret) -- % ad->period_frames; -+ // SIGFPE! -+ //ad->period_position = (ad->period_position + ret) -+ // % ad->period_frames; - return ret * ad->frame_size; - } - |