summaryrefslogtreecommitdiffstats
path: root/system/gxemul/gxemul.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2012-09-18 05:53:57 +0200
committer Robby Workman <rworkman@slackbuilds.org>2012-09-18 19:33:38 -0500
commita385e70cb3d6f555ee09ff7e0098329585ea75c3 (patch)
treed7798ad3c8db730b910c11b73ab5e60da56dace7 /system/gxemul/gxemul.SlackBuild
parent71b64e2e4947a3d40b33a11ff34adf2b097663be (diff)
downloadslackbuilds-a385e70cb3d6f555ee09ff7e0098329585ea75c3.tar.gz
slackbuilds-a385e70cb3d6f555ee09ff7e0098329585ea75c3.tar.xz
system/gxemul: Added a patch for gcc>=4.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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