diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-08-08 14:09:54 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | d1248bae6afbfb98c6f28c1a65befbabaa1e3c55 (patch) | |
tree | 9ac59aa193649522ecfef7dac81a14ddbc54cc67 /audio/gmpc-plugins | |
parent | 33262700099c47083fa343c3352018108e8bb0a1 (diff) | |
download | slackbuilds-d1248bae6afbfb98c6f28c1a65befbabaa1e3c55.tar.gz |
audio/gmpc-plugins: Patched SlackBuild.
Fixes failure to build with glibc-2.21 (-current).
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio/gmpc-plugins')
-rw-r--r-- | audio/gmpc-plugins/gmpc-plugins.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
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 \ |