aboutsummaryrefslogtreecommitdiff
path: root/libraries/libmpd/libmpd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmpd/libmpd.SlackBuild')
-rw-r--r--libraries/libmpd/libmpd.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/libraries/libmpd/libmpd.SlackBuild b/libraries/libmpd/libmpd.SlackBuild
index 62dcbcfdb517a..31a0fba0a252b 100644
--- a/libraries/libmpd/libmpd.SlackBuild
+++ b/libraries/libmpd/libmpd.SlackBuild
@@ -73,6 +73,10 @@ 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 {} \;
+# Fix build with gcc-4.9 and glibc-2.21 (Slackware-current)
+# http://repo.or.cz/w/libmpd.git/commit/4f946c01000fd97100e4a534b47f9c7ace0403df
+patch -p1 < $CWD/libmpd-internal.h.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \