From 6d0e8b653345047f932fe74163327d363e2d4ac5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 18 Sep 2013 09:48:30 +0200 Subject: update and fix musl compile --- package/mpd/Makefile | 8 ++++---- package/mpd/patches/patch-src_output_alsa_plugin_c | 16 ---------------- 2 files changed, 4 insertions(+), 20 deletions(-) delete mode 100644 package/mpd/patches/patch-src_output_alsa_plugin_c (limited to 'package/mpd') 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; - } - -- cgit v1.2.3