summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author B. Watson2022-03-23 06:10:09 +0100
committer Willy Sudiarto Raharjo2022-03-25 19:20:10 +0100
commit3c9559c13a6d59444b9a15982c6f1f74580d6b25 (patch)
tree9b4cd303a3ea3e341b28ac4692b6caf7ff5b22b9
parent41648713e36a04cf0b8ce532db675978ac1ad537 (diff)
downloadslackbuilds-3c9559c13a6d59444b9a15982c6f1f74580d6b25.tar.gz
games/waterCloset: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--games/waterCloset/waterCloset.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/waterCloset/waterCloset.SlackBuild b/games/waterCloset/waterCloset.SlackBuild
index 41f4c28721..48ecaeed40 100644
--- a/games/waterCloset/waterCloset.SlackBuild
+++ b/games/waterCloset/waterCloset.SlackBuild
@@ -10,6 +10,7 @@
# 06/02/2020. version 1.0 first major "full" version.
# 20220221 bkw: Modified by SlackBuilds.org: fix incorrect github URL.
+# 20220323 bkw: Modified by SlackBuilds.org: fix 32-bit build.
cd $(dirname $0) ; CWD=$(pwd)
@@ -65,6 +66,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 {} \+
+# 20220323 bkw: 32-bit needs this.
+sed -i 's,-Werror[^ ]*, ,g' makefile
+
make
make install DESTDIR=$PKG