summaryrefslogtreecommitdiff
path: root/games/widelands/widelands.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/widelands/widelands.SlackBuild')
-rw-r--r--games/widelands/widelands.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/widelands/widelands.SlackBuild b/games/widelands/widelands.SlackBuild
index 5c723a914e..9b8e2b187f 100644
--- a/games/widelands/widelands.SlackBuild
+++ b/games/widelands/widelands.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=widelands
VERSION=build15
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -65,6 +65,8 @@ cd $PRGNAM-$VERSION-src
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+patch -p0 < $CWD/widelands-0.15-gcc45.patch
+
# make locale install dir configurable
localedir="WLBUILD_INSTALL_LOCALEDIR"
old="$localedir \"\${CMAKE_INSTALL_PREFIX}/\${WL_INSTALL_DATADIR}/locale\""