diff options
author | David Spencer <baildon.research@googlemail.com> | 2015-08-03 21:34:24 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-17 09:40:16 +0700 |
commit | 43f87fbfa09818d8c862ef1aed03108fa8e2d58c (patch) | |
tree | 7de69d410bb7195b5e0181dcd350f2d4a68e1a21 /libraries/libmpd | |
parent | cb3f8a38356851b7d1f6dc5f8601ba37c63134ba (diff) | |
download | slackbuilds-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')
-rw-r--r-- | libraries/libmpd/libmpd-internal.h.patch | 14 | ||||
-rw-r--r-- | libraries/libmpd/libmpd.SlackBuild | 4 |
2 files changed, 18 insertions, 0 deletions
diff --git a/libraries/libmpd/libmpd-internal.h.patch b/libraries/libmpd/libmpd-internal.h.patch new file mode 100644 index 0000000000..c9be064075 --- /dev/null +++ b/libraries/libmpd/libmpd-internal.h.patch @@ -0,0 +1,14 @@ +X-Git-Url: http://repo.or.cz/w/libmpd.git/blobdiff_plain/604cbb97b24ea12881adc6c92e2fc14edfdf20da..4f946c01000fd97100e4a534b47f9c7ace0403df:/src/libmpd-internal.h + +diff --git a/src/libmpd-internal.h b/src/libmpd-internal.h +index c84c3a4..30cdc85 100644 +--- a/src/libmpd-internal.h ++++ b/src/libmpd-internal.h +@@ -21,6 +21,7 @@ + #define __MPD_INTERNAL_LIB_ + + #include "libmpdclient.h" ++#include <config.h> + struct _MpdData_real; + + typedef struct _MpdData_real { 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 \ |