From d1248bae6afbfb98c6f28c1a65befbabaa1e3c55 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 8 Aug 2015 14:09:54 +0100 Subject: audio/gmpc-plugins: Patched SlackBuild. Fixes failure to build with glibc-2.21 (-current). Signed-off-by: David Spencer Signed-off-by: Willy Sudiarto Raharjo --- audio/gmpc-plugins/gmpc-plugins.SlackBuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'audio/gmpc-plugins') diff --git a/audio/gmpc-plugins/gmpc-plugins.SlackBuild b/audio/gmpc-plugins/gmpc-plugins.SlackBuild index 62dc89f0e4..1720e14f32 100644 --- a/audio/gmpc-plugins/gmpc-plugins.SlackBuild +++ b/audio/gmpc-plugins/gmpc-plugins.SlackBuild @@ -73,7 +73,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -CFLAGS="$SLKCFLAGS" \ +# HAVE_STRNDUP=1 is a fix for libmpd's internal header cockup (thanks to Fedora) + +CFLAGS="$SLKCFLAGS -DHAVE_STRNDUP=1" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ -- cgit v1.2.3