diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-06-26 06:34:21 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:58:04 -0500 |
commit | 93d82439d70c45e0813d44e3ea2f904635658200 (patch) | |
tree | b3215978255d8a78aba0f69fc97b741a87dff2e4 | |
parent | c354f942e122002a90ff1b82c6a639b23396fd95 (diff) |
multimedia/smpeg: Disabled narrowing warnings, fix underlinking.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | multimedia/smpeg/smpeg.SlackBuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/multimedia/smpeg/smpeg.SlackBuild b/multimedia/smpeg/smpeg.SlackBuild index 19a3a4f6c69f..b2560d4b2bf8 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 \ |