summaryrefslogtreecommitdiffstats
path: root/system/gxemul/gxemul.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'system/gxemul/gxemul.SlackBuild')
-rw-r--r--system/gxemul/gxemul.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/system/gxemul/gxemul.SlackBuild b/system/gxemul/gxemul.SlackBuild
index 93f48fec9b..56c94a9f46 100644
--- a/system/gxemul/gxemul.SlackBuild
+++ b/system/gxemul/gxemul.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=gxemul
VERSION=${VERSION:-0.6.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -53,6 +53,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix needed for gcc>=4.6.x (thanks gentoo)
+patch -p1 < $CWD/0.6.0-gcc46.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure