summaryrefslogtreecommitdiffstats
path: root/games/scummvm/scummvm.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/scummvm/scummvm.SlackBuild')
-rw-r--r--games/scummvm/scummvm.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/games/scummvm/scummvm.SlackBuild b/games/scummvm/scummvm.SlackBuild
index 48b1b0df23..c0a8a400f7 100644
--- a/games/scummvm/scummvm.SlackBuild
+++ b/games/scummvm/scummvm.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for scummvm
# Copyright 2006 Halim Issa <yallaone@gmail.com>
-# Copyright 2008, 2010, 2012-2018 Carlos Corbacho <carlos@strangeworlds.co.uk>
+# Copyright 2008, 2010, 2012-2020 Carlos Corbacho <carlos@strangeworlds.co.uk>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=scummvm
-VERSION=${VERSION:-2.0.0}
+VERSION=${VERSION:-2.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,7 +55,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCS="AUTHORS COPYING* COPYRIGHT NEWS README TODO"
+DOCS="AUTHORS COPYING* COPYRIGHT NEWS.md README.md TODO"
set -e
@@ -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 \