summaryrefslogtreecommitdiff
path: root/development/amaya/amaya.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/amaya/amaya.SlackBuild')
-rw-r--r--development/amaya/amaya.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/development/amaya/amaya.SlackBuild b/development/amaya/amaya.SlackBuild
index 319321fcb6..3661c3ec9f 100644
--- a/development/amaya/amaya.SlackBuild
+++ b/development/amaya/amaya.SlackBuild
@@ -4,17 +4,17 @@
# Written by Vincent Batts, http://hashbangbash.com/
+# Modified by the SlackBuilds.org team
+
PRGNAM=amaya
VERSION=${VERSION:-11.3.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -56,6 +56,9 @@ find . \
# Apply a patch so wxWidgets builds with the newer gtk
( cd wxWidgets ; cat $CWD/newgtk.patch | patch -p1 || exit 1 )
+# Apply patch for gcc 4.5.x
+patch -p1 < $CWD/amaya_gcc45x.patch
+
mkdir -p Amaya/build
cd Amaya/build
CFLAGS="$SLKCFLAGS" \