aboutsummaryrefslogtreecommitdiff
path: root/games/waterCloset
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-03-23 01:10:09 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-26 01:20:10 +0700
commit3c9559c13a6d59444b9a15982c6f1f74580d6b25 (patch)
tree9b4cd303a3ea3e341b28ac4692b6caf7ff5b22b9 /games/waterCloset
parent41648713e36a04cf0b8ce532db675978ac1ad537 (diff)
games/waterCloset: Fix 32-bit build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/waterCloset')
-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 41f4c28721df1..48ecaeed40d96 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