aboutsummaryrefslogtreecommitdiff
path: root/multimedia/videocut/videocut.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-23 17:54:11 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:31 -0500
commitc490185c8a796a742fd096286107f727579ac5f2 (patch)
treece386ae5336ebfc358c24f3017cd8ee032c97a4c /multimedia/videocut/videocut.SlackBuild
parentda51e79f5ca3d8dad6c666171827fc7b2f6b5cca (diff)
multimedia/videocut: Added -fpermissive to the CXXFLAGS.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/videocut/videocut.SlackBuild')
-rw-r--r--multimedia/videocut/videocut.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/multimedia/videocut/videocut.SlackBuild b/multimedia/videocut/videocut.SlackBuild
index 2ff8512391b15..6bad5c10d091c 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