summaryrefslogtreecommitdiff
path: root/games/scummvm/scummvm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/scummvm/scummvm.SlackBuild')
-rw-r--r--games/scummvm/scummvm.SlackBuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild
index 1a54e58fe9..c0a8a400f7 100644
--- a/games/scummvm/scummvm.SlackBuild
+++ b/games/scummvm/scummvm.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scummvm
-VERSION=${VERSION:-2.1.1}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,8 +72,13 @@ 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 {} \;
+# 20200411 bkw: This is necessary for fluidsynth-2.x. Based on upstream's
+# git commit 68758a87.
+patch -p1 < $CWD/fix-fluidsynth2-build.diff
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
+LDFLAGS="-fuse-ld=gold" \
./configure \
--prefix=/usr \
--bindir=/usr/games \