summaryrefslogtreecommitdiff
path: root/audio/calf/calf.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-15 21:32:01 +0200
committerdsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:40 -0400
commitb3790ccba30dd7a99ecbca30f7a0f2bfe62ef31a (patch)
tree606f12537fe1d91df6ce0a7244ae91bf9558b1c7 /audio/calf/calf.SlackBuild
parentbccd5718fc766056ee343ea6aebeb0e3a42536f3 (diff)
downloadslackbuilds-b3790ccba30dd7a99ecbca30f7a0f2bfe62ef31a.tar.gz
audio/calf: Added a patch for gcc-4.7.x.
Also small cleanups in the .info file Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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