summaryrefslogtreecommitdiffstats
path: root/games/jfsw
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2020-04-16 00:57:43 -0400
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2020-04-19 10:52:26 +0700
commit135a3a72c7a8d6203abafc90f27365609b2ccd6c (patch)
treece25fe855bbc5be2b85463764678483af55d25c0 /games/jfsw
parent5056fef15436d5633d8653d9296f165b2063db3d (diff)
downloadslackbuilds-135a3a72c7a8d6203abafc90f27365609b2ccd6c.tar.gz
slackbuilds-135a3a72c7a8d6203abafc90f27365609b2ccd6c.tar.xz
games/jfsw: Fix fluidsynth 2.x build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/jfsw')
-rw-r--r--games/jfsw/jfsw.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/games/jfsw/jfsw.SlackBuild b/games/jfsw/jfsw.SlackBuild
index bf783c30a5..4636f8de50 100644
--- a/games/jfsw/jfsw.SlackBuild
+++ b/games/jfsw/jfsw.SlackBuild
@@ -152,6 +152,10 @@ patch -p1 < $CWD/patches/sdl1_fix.diff
# to missing driver_sdlmixer.c). Maybe someday it'll work and then we
# hear the demo music without having to install fluidsynth?
+# 20200416 bkw: fluidsynth 2.x works OK, but the version check in the
+# source doesn't like its version number.
+sed -i '/^#error.*Fluid/d' jfaudiolib/src/driver_fluidsynth.c
+
make \
RELEASE=1 \
PREFIX=/usr/share/games/$PRGNAM \