summaryrefslogtreecommitdiffstats
path: root/audio/calf/calf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/calf/calf.SlackBuild')
-rw-r--r--audio/calf/calf.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/calf/calf.SlackBuild b/audio/calf/calf.SlackBuild
index 07e426e77c..01e0031c0b 100644
--- a/audio/calf/calf.SlackBuild
+++ b/audio/calf/calf.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=calf
VERSION=${VERSION:-0.0.18.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,6 +77,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for gcc-4.7.x
+patch -p1 < $CWD/gcc47.patch
+
# Note: The build ignores the provided -O2 in the flags (but the
# -march/-mtune -fPIC stuff is used). If you really want to force
# it to use -O2 (Slackware default), set FORCE_SLACK_CFLAGS=yes