multimedia/videocut: Added -fpermissive to the CXXFLAGS.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-23 17:54:11 +02:00 committed by Robby Workman
parent da51e79f5c
commit c490185c8a

View file

@ -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