aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mlt
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2018-09-18 21:16:58 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-23 06:11:51 +0700
commit334e4e64dfdd708686aab61e8223c13ef8e6bff6 (patch)
tree3b3297d55be2e1934c23f7008a832948b58c3438 /multimedia/mlt
parentfdc0d336a7dc1b4648bcf00cc51f5d99cc94c404 (diff)
multimedia/mlt: Fixed build with qt5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'multimedia/mlt')
-rw-r--r--multimedia/mlt/mlt.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/mlt/mlt.SlackBuild b/multimedia/mlt/mlt.SlackBuild
index f3d75a2073742..34b021379ced0 100644
--- a/multimedia/mlt/mlt.SlackBuild
+++ b/multimedia/mlt/mlt.SlackBuild
@@ -133,6 +133,9 @@ CXXFLAGS="$SLKCFLAGS" \
--swig-languages="$java $lua $perl $php $python $ruby $tcl $csharp" \
--build=$ARCH-slackware-linux
+# qt5 fixup thanks to AlienBOB!
+sed -i -e 's/CXXFLAGS :=/CXXFLAGS := --std=c++11/' src/modules/qt/Makefile
+
make clean
CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG