summaryrefslogtreecommitdiffstats
path: root/games/pentagram/pentagram.SlackBuild
diff options
context:
space:
mode:
author B. Watson <yalhcru@gmail.com>2012-09-16 10:06:23 -0300
committer dsomero <xgizzmo@slackbuilds.org>2012-09-16 19:44:12 -0400
commitf5d962b1ae6dfc11d3fea7322c289082482176fa (patch)
treeb4658d4c8ca1d099287f23389994bac1a90b9b75 /games/pentagram/pentagram.SlackBuild
parent909fd9448da68311dba8bf4bb5a42de4bdaf3f5c (diff)
downloadslackbuilds-f5d962b1ae6dfc11d3fea7322c289082482176fa.tar.gz
slackbuilds-f5d962b1ae6dfc11d3fea7322c289082482176fa.tar.xz
games/pentagram: Fixed to build against gcc-4.7
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'games/pentagram/pentagram.SlackBuild')
-rw-r--r--games/pentagram/pentagram.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/games/pentagram/pentagram.SlackBuild b/games/pentagram/pentagram.SlackBuild
index fbb49e2ac6..a819f971db 100644
--- a/games/pentagram/pentagram.SlackBuild
+++ b/games/pentagram/pentagram.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=pentagram
VERSION=${VERSION:-20110229_svn}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Patch to build against gcc-4.7
+patch -p1 < $CWD/pentagram_gcc47.patch
+
./bootstrap
# The extra scalers make the binary about 50% bigger (not enough