summaryrefslogtreecommitdiff
path: root/audio/caps/caps.SlackBuild
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2017-06-22 16:29:44 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-07-01 07:42:25 +0700
commit218b6c3c8a1726e7cc6490e1b93bcbb34753dab0 (patch)
tree508b346fb3cb813bdb05a526745557d2037a906b /audio/caps/caps.SlackBuild
parent78eba95f4a49e419f0d3af4cdbb77d99390295b9 (diff)
downloadslackbuilds-218b6c3c8a1726e7cc6490e1b93bcbb34753dab0.tar.gz
audio/caps: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
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