aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-06-26 06:34:21 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:58:04 -0500
commit93d82439d70c45e0813d44e3ea2f904635658200 (patch)
treeb3215978255d8a78aba0f69fc97b741a87dff2e4 /multimedia
parentc354f942e122002a90ff1b82c6a639b23396fd95 (diff)
multimedia/smpeg: Disabled narrowing warnings, fix underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-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 19a3a4f6c69ff..b2560d4b2bf8b 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 \