summaryrefslogtreecommitdiff
path: root/libraries/libmpd/libmpd.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-03 21:34:24 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit43f87fbfa09818d8c862ef1aed03108fa8e2d58c (patch)
tree7de69d410bb7195b5e0181dcd350f2d4a68e1a21 /libraries/libmpd/libmpd.SlackBuild
parentcb3f8a38356851b7d1f6dc5f8601ba37c63134ba (diff)
downloadslackbuilds-43f87fbfa09818d8c862ef1aed03108fa8e2d58c.tar.gz
libraries/libmpd: Patched SlackBuild.
Fixes build with glibc-2.21 (-current). Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 62dcbcfdb5..31a0fba0a2 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 \