aboutsummaryrefslogtreecommitdiff
path: root/games/jollygood/jollygood.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/jollygood/jollygood.SlackBuild')
-rw-r--r--games/jollygood/jollygood.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games/jollygood/jollygood.SlackBuild b/games/jollygood/jollygood.SlackBuild
index 5e3ae5e39a..7d1e3bf9ed 100644
--- a/games/jollygood/jollygood.SlackBuild
+++ b/games/jollygood/jollygood.SlackBuild
@@ -30,6 +30,7 @@
# version number, but there's a separate APIVER in case that turns out
# to be wrong.
+# 20250527 bkw: updated for v1.2.1 (APIVER still 1.0.0).
# 20230902 bkw: updated for v1.0.2 (APIVER still 1.0.0).
# 20230404 bkw: updated for v1.0.1 (APIVER still 1.0.0).
# 20230121 bkw: submitted v1.0.0.
@@ -38,7 +39,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=jollygood
SRCNAM=jgrf
-VERSION=${VERSION:-1.0.2}
+VERSION=${VERSION:-1.2.1}
APINAM=jg
APIVER=${APIVER:-1.0.0}
BUILD=${BUILD:-1}
@@ -119,7 +120,10 @@ cd $TOPDIR/$SRCNAM-$VERSION
# Add .smd .sra for Genesis/Megadrive, add .fig .swc for SNES. Ideally
# in some future version of jgrf, these will be found in a config file
# instead of hardcoded in the executable.
-patch -p1 < $CWD/more_extensions.diff
+# 20250527 bkw: keep the old patch around in case someone wants to build
+# the old 1.0.x versions. for now, anyway.
+PATCHVER="$( echo $VERSION | cut -d. -f1,2 )"
+patch -p1 < $CWD/more_extensions.diff.$PATCHVER
make install-strip \
CFLAGS="$SLKCFLAGS" \