From dfdc430a4a41d83d5f44d14c0cad4b684eba475a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Mon, 20 Jul 2020 17:50:38 -0700 Subject: mpd: update to 0.21.25 pulseaudio-daemon depends on alsa-lib, which depends on @AUDIO_SUPPORT. Enables -full on platforms lacking AUDIO_SUPPORT. Simplified LDFLAGS slighly. Removed pointless ICU dependency. I managed to patch meson.build to fix iconv compilation. The original error was that without the header, it was prefixing the iconv check with __buildin_ , which does not work with uClibc-ng. Signed-off-by: Rosen Penev --- sound/mpd/patches/010-iconv.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sound/mpd/patches/010-iconv.patch (limited to 'sound/mpd/patches/010-iconv.patch') diff --git a/sound/mpd/patches/010-iconv.patch b/sound/mpd/patches/010-iconv.patch new file mode 100644 index 000000000..730b27108 --- /dev/null +++ b/sound/mpd/patches/010-iconv.patch @@ -0,0 +1,11 @@ +--- a/src/lib/icu/meson.build ++++ b/src/lib/icu/meson.build +@@ -18,7 +18,7 @@ if icu_dep.found() + 'Init.cxx', + ] + elif not get_option('iconv').disabled() +- have_iconv = compiler.has_function('iconv') ++ have_iconv = compiler.has_function('iconv', prefix : '#include ') + conf.set('HAVE_ICONV', have_iconv) + if not have_iconv and get_option('iconv').enabled() + error('iconv() not available') -- cgit v1.2.3