summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2018-06-26 06:34:21 +0200
committer Matteo Bernardini2021-04-10 16:26:07 +0200
commitbd78f613cd67b196437be2d9ba54bbeff9f37588 (patch)
treef20d63431e5cca694339fd35b437c2660e204123
parentcf65c072371dbcb73b7ea6d75de27bb6b96899f7 (diff)
downloadslackbuilds-smpeg.tar.gz
multimedia/smpeg: Disabled narrowing warnings, fix underlinking.smpeg
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--multimedia/smpeg/smpeg.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild
index 19a3a4f6c6..b2560d4b2b 100644
--- a/multimedia/smpeg/smpeg.SlackBuild
+++ b/multimedia/smpeg/smpeg.SlackBuild
@@ -69,9 +69,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i "s|^gtv_LDADD.*|gtv_LDADD = @GTK_LIBS@ libsmpeg.la -lX11|" Makefile.am
+
./autogen.sh
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -Wno-error=narrowing" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \