summaryrefslogtreecommitdiff
path: root/games/brutalchess/brutalchess.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-04-03 07:09:25 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:27 -0500
commitce25f255fd84ef4836f17c69b80f094172a42385 (patch)
tree547ce5a1eb6a2be71020036b02f332e8f18fc698 /games/brutalchess/brutalchess.SlackBuild
parent8123c49e38cb0d24a3540e2d23bf9745393fe0cc (diff)
downloadslackbuilds-ce25f255fd84ef4836f17c69b80f094172a42385.tar.gz
games/brutalchess: Included a patch for gcc-4.7.x.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'games/brutalchess/brutalchess.SlackBuild')
-rw-r--r--games/brutalchess/brutalchess.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/games/brutalchess/brutalchess.SlackBuild b/games/brutalchess/brutalchess.SlackBuild
index eba885073e..9b94433995 100644
--- a/games/brutalchess/brutalchess.SlackBuild
+++ b/games/brutalchess/brutalchess.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=brutalchess
VERSION=0.5.2
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -69,6 +69,8 @@ chmod -R u+w,go+r-w,a-s .
patch -p0 -i $CWD/brutalchess-0.5.2-fix-FTBFS.patch || exit 1
patch -p0 -i $CWD/brutalchess-0.5.2-gcc4.3.patch || exit 1
+# fix for gcc-4.7.x build
+patch -p1 -i $CWD/brutalchess-0.5.2-gcc4.7.patch || exit 1
CXXFLAGS="$SLKCFLAGS" \
CFLAGS="$SLKCFLAGS" \