From c490185c8a796a742fd096286107f727579ac5f2 Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 23 Sep 2012 17:54:11 +0200 Subject: [PATCH] multimedia/videocut: Added -fpermissive to the CXXFLAGS. Signed-off-by: Matteo Bernardini --- multimedia/videocut/videocut.SlackBuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/multimedia/videocut/videocut.SlackBuild b/multimedia/videocut/videocut.SlackBuild index 2ff8512391..6bad5c10d0 100644 --- a/multimedia/videocut/videocut.SlackBuild +++ b/multimedia/videocut/videocut.SlackBuild @@ -6,7 +6,7 @@ PRGNAM=videocut VERSION=${VERSION:-0.2.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -55,6 +55,10 @@ find . \ # Fix the docdir sed -i "s%/usr/share/doc/videocut/%/usr/doc/$PRGNAM-$VERSION/%" videocut.pro + +# Needed for gcc-4.7.x +echo "QMAKE_CXXFLAGS += $SLKCFLAGS -fpermissive" >> videocut.pro + qmake make