summaryrefslogtreecommitdiff
path: root/games/meandmyshadow/meandmyshadow.SlackBuild
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2012-08-01 08:34:54 -0300
committerRobby Workman <rworkman@slackbuilds.org>2012-08-14 22:30:33 -0500
commit7db66fdb9bc2b339a63ef3f847d744bcbc7582af (patch)
tree95d04ee0783e0282f9ea8ebabef51370e8db7960 /games/meandmyshadow/meandmyshadow.SlackBuild
parentc8bf3c668c3bf7b13f012ca9ad214b7f8fde5c13 (diff)
downloadslackbuilds-7db66fdb9bc2b339a63ef3f847d744bcbc7582af.tar.gz
games/meandmyshadow: Patched for gcc-4.7.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/meandmyshadow/meandmyshadow.SlackBuild')
-rw-r--r--games/meandmyshadow/meandmyshadow.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/meandmyshadow/meandmyshadow.SlackBuild b/games/meandmyshadow/meandmyshadow.SlackBuild
index 3f732b8519..63bb8b3bcf 100644
--- a/games/meandmyshadow/meandmyshadow.SlackBuild
+++ b/games/meandmyshadow/meandmyshadow.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=meandmyshadow
VERSION=${VERSION:-0.3}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -57,6 +57,9 @@ sed -i -e '/^Version/d' -e 's|;Game;|;|' meandmyshadow.desktop
# SLKCFLAGS are respected.
sed -i "s|-Wall -g|& $SLKCFLAGS|" CMakeLists.txt
+# From upstream. Fix for building with gcc 4.7.x.
+patch -p1 < $CWD/gcc-4.7.patch
+
mkdir -p build
cd build
cmake -G "Unix Makefiles" \