summaryrefslogtreecommitdiff
path: root/audio/gmpc-plugins
diff options
context:
space:
mode:
Diffstat (limited to 'audio/gmpc-plugins')
-rw-r--r--audio/gmpc-plugins/gmpc-plugins.SlackBuild4
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 \