aboutsummaryrefslogtreecommitdiff
path: root/games/megaglest/megaglest.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-08-10 11:39:24 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-10 11:39:24 -0500
commit918b8900197fc3b3fb82874bea8ffc875f6f73fb (patch)
treee749aefdc7d165f42b9214cec82650c56bd923ff /games/megaglest/megaglest.SlackBuild
parent61faa4269316cf56e6ece673a7324d1cb93c4c9f (diff)
games/megaglest: Included patch for gcc47
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/megaglest/megaglest.SlackBuild')
-rw-r--r--games/megaglest/megaglest.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild
index cc2e578328c55..6501b9b28ea7e 100644
--- a/games/megaglest/megaglest.SlackBuild
+++ b/games/megaglest/megaglest.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=megaglest
VERSION=${VERSION:-3.6.0.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -62,6 +62,9 @@ find . \
sed -i "/^const string glestVersionString/ s|=.*|= \"v${VERSION}\";|" \
source/glest_game/facilities/game_util.cpp
+# From upstream. Fixes gcc 4.7.x compile issues.
+patch -p1 < $CWD/gcc-4.7.patch
+
mkdir build
cd build
cmake -G "Unix Makefiles" \