diff options
author | B. Watson <urchlay@slackware.uk> | 2023-01-08 00:11:33 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-01-14 08:50:22 +0700 |
commit | b9a6d30880cf8e84067c09a8d3b88c6408f010af (patch) | |
tree | 91842a7d4bfc36e7f0eac1c31668bbbfa315df1f /games/koules/koules.SlackBuild | |
parent | 1195b776439a153f933a360fc49543c2edde8e18 (diff) |
games/koules: Make joysticks work again.
Signed-off-by: B. Watson <urchlay@slackware.uk>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/koules/koules.SlackBuild')
-rw-r--r-- | games/koules/koules.SlackBuild | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/games/koules/koules.SlackBuild b/games/koules/koules.SlackBuild index 84d2b6d753ea..e02b0604759d 100644 --- a/games/koules/koules.SlackBuild +++ b/games/koules/koules.SlackBuild @@ -10,13 +10,17 @@ # This script doesn't share any code with whatever build script # existed back then (partly because I couldn't find a copy) +# TODO: make -E the default size. It's 2023, nobody wants to play a game +# in a window the size of a postcard (or a playing card, on 4K). + +# 20230107 bkw: BUILD=4, fix paths to joystick devices (/dev/jsX => /dev/input/jsX) # 20211020 bkw: BUILD=3, fix -current build. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=koules VERSION=${VERSION:-1.4} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -81,7 +85,7 @@ patch -p1 < $CWD/patches/slackware.diff patch -p1 < $CWD/patches/compile_fix.diff # Modern gcc seems to hate the inline assembly. Anyway I bet gcc's code -# with -O2 is the same or faster... +# with -O2 is the same or faster... and we need this for x86_64 too. patch -p1 < $CWD/patches/no_inline_asm.diff # The author forgot to mention the -E option in the help and man page @@ -90,6 +94,10 @@ patch -p1 < $CWD/patches/document_E_option.diff # Some people might like the launcher... patch -p1 < $CWD/patches/tcl_launcher_paths.diff +# 20230107 bkw: this has been broken for ages, I just now decided to play +# this game with a joystick... +patch -p1 < $CWD/patches/joystickdevs.diff + # I hate Imake even worse than autoconf... if [ "$MITSHM" = "no" ]; then sed -i -e '/#define MITSHM/d' Iconfig |