games/jfsw: Fix fluidsynth 2.x build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-04-16 00:57:43 -04:00 committed by Willy Sudiarto Raharjo
parent 5056fef154
commit 135a3a72c7
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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 \