summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-02-11 19:13:13 +0100
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:28 -0500
commitec550992dc21e84083bbfd54e6573d5df28a63cb (patch)
treea1510def7f8a7feeee1246db54142c496524ec06
parentba69e24e69e88a9ebd6da2d12c3c77b65ce42de0 (diff)
downloadslackbuilds-ec550992dc21e84083bbfd54e6573d5df28a63cb.tar.gz
multimedia/dirac: Fixed CFLAGS to let it build on -current.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--multimedia/dirac/dirac.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/multimedia/dirac/dirac.SlackBuild b/multimedia/dirac/dirac.SlackBuild
index f1a1187865..e6ba93726d 100644
--- a/multimedia/dirac/dirac.SlackBuild
+++ b/multimedia/dirac/dirac.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=dirac
VERSION=1.0.2
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -76,6 +76,9 @@ find . \
patch -p1 < $CWD/encoder.patch
patch -p1 < $CWD/gcc45.patch
+# -Werror breaks build on current
+sed -i "s|\ -Werror\"|\"|" configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \