summaryrefslogtreecommitdiff
path: root/audio/caps/caps.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/caps/caps.SlackBuild')
-rw-r--r--audio/caps/caps.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/caps/caps.SlackBuild b/audio/caps/caps.SlackBuild
index e82ba01443..f197d318d1 100644
--- a/audio/caps/caps.SlackBuild
+++ b/audio/caps/caps.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170622 bkw: fix build on -current
+
PRGNAM=caps
VERSION=${VERSION:-0.9.24}
BUILD=${BUILD:-1}
@@ -55,6 +57,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+patch -p1 < $CWD/gcc7fix.diff
+
if [ "$FORCE_SLACK_CFLAGS" = "yes" ]; then
make OPTS="$SLKCFLAGS" ARCH=""
else