From 918b8900197fc3b3fb82874bea8ffc875f6f73fb Mon Sep 17 00:00:00 2001 From: Larry Hajali Date: Fri, 10 Aug 2012 11:39:24 -0500 Subject: games/megaglest: Included patch for gcc47 Signed-off-by: Robby Workman --- games/megaglest/megaglest.SlackBuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'games/megaglest/megaglest.SlackBuild') diff --git a/games/megaglest/megaglest.SlackBuild b/games/megaglest/megaglest.SlackBuild index cc2e578328c5..6501b9b28ea7 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" \ -- cgit v1.2.3