aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-08-17 08:07:48 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-08-19 18:33:48 +0700
commit510ce5924ec51ae6933bd858d8f7023c0c1687b7 (patch)
tree4b433905f194cb5e22e2a1c7a21bd7fd3dde9930 /multimedia
parent9b3b13b2baa9f3034e25054f88d90ecafc3bf71e (diff)
multimedia/smplayer: Disable warnings-as-errors.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/smplayer/smplayer.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/smplayer/smplayer.SlackBuild b/multimedia/smplayer/smplayer.SlackBuild
index a639d426c1ba6..1b789a81aa9c0 100644
--- a/multimedia/smplayer/smplayer.SlackBuild
+++ b/multimedia/smplayer/smplayer.SlackBuild
@@ -83,6 +83,9 @@ 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 {} \;
+# Disable -Werror (helps building with the newer gcc)
+sed -i "s|-W\ -Wall\ -Werror|-W -Wall|" webserver/Makefile
+
# Fix man page path.
sed -i "s/share\/man/man/g" Makefile