summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2017-06-21 09:57:51 +0200
committer Willy Sudiarto Raharjo2017-06-24 03:32:51 +0200
commitbb665a67c60f11c9e8c719a335173f4bec71aa7d (patch)
treebd0ebc21416adf9e9f7f6df84d68888348cb0547
parent428913d9d8f1aa3995d04d6faf209724b296643d (diff)
downloadslackbuilds-bb665a67c60f11c9e8c719a335173f4bec71aa7d.tar.gz
games/liquidwar6: Fix build for -current.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--games/liquidwar6/liquidwar6.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/games/liquidwar6/liquidwar6.SlackBuild b/games/liquidwar6/liquidwar6.SlackBuild
index 636af60f01..dde88bcbac 100644
--- a/games/liquidwar6/liquidwar6.SlackBuild
+++ b/games/liquidwar6/liquidwar6.SlackBuild
@@ -6,6 +6,8 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20170621 bkw: fix build on -current
+
PRGNAM=liquidwar6
VERSION=${VERSION:-0.6.3902}
BUILD=${BUILD:-2}
@@ -55,6 +57,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 {} \;
+# -current needs this:
+sed -i 's,-Werror,,' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \