summaryrefslogtreecommitdiff
path: root/games/xarchon/xarchon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/xarchon/xarchon.SlackBuild')
-rw-r--r--games/xarchon/xarchon.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/xarchon/xarchon.SlackBuild b/games/xarchon/xarchon.SlackBuild
index c8f3c27bb9..018998ca5a 100644
--- a/games/xarchon/xarchon.SlackBuild
+++ b/games/xarchon/xarchon.SlackBuild
@@ -10,9 +10,12 @@
# Adept game is complete or correct, because I never could understand
# how to play it, even as a video-game-obsessed kid in the 1980s.
+# further note, written later: no, Adept is nowhere near complete or
+# playable. So I'm patching the game to remove the menu option for it.
+
PRGNAM=xarchon
VERSION=${VERSION:-0.60}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,6 +60,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 Adept menu option, since it's non-playable.
+patch -p1 < $CWD/patches/no_adept.diff
+
# hammer old C++ code into building on gcc-5.3, plus autoconf fixes
# to get qt3 detected & linked properly.
patch -p1 < $CWD/patches/compilefix.diff