aboutsummaryrefslogtreecommitdiff
path: root/games/warmux/warmux.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-01 16:45:31 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 20:11:48 -0500
commitcec74f1c3afb0f1042651e4694176e6e7f90091f (patch)
tree3d665e18699b7d132030cc7d04e385804a0effa3 /games/warmux/warmux.SlackBuild
parente180c42c147e221a686bc5c55e549066acb35d32 (diff)
games/warmux: Added a patch for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/warmux/warmux.SlackBuild')
-rw-r--r--games/warmux/warmux.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/warmux/warmux.SlackBuild b/games/warmux/warmux.SlackBuild
index a271f5685281..ec9ca06c5953 100644
--- a/games/warmux/warmux.SlackBuild
+++ b/games/warmux/warmux.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=warmux
VERSION=11.04.1
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -68,6 +68,9 @@ cd $PRGNAM-11.04
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
+# Fix building with gcc-4.7.x
+patch -p1 < $CWD/gcc47.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \