summaryrefslogtreecommitdiffstats
path: root/games/pentagram/pentagram.SlackBuild
diff options
context:
space:
mode:
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