aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 a639d426c1ba..1b789a81aa9c 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