From ec550992dc21e84083bbfd54e6573d5df28a63cb Mon Sep 17 00:00:00 2001 From: ponce Date: Sat, 11 Feb 2012 19:13:13 +0100 Subject: multimedia/dirac: Fixed CFLAGS to let it build on -current. Signed-off-by: Robby Workman --- multimedia/dirac/dirac.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'multimedia/dirac/dirac.SlackBuild') 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 \ -- cgit v1.2.3