aboutsummaryrefslogtreecommitdiff
path: root/academic/extrema/extrema.SlackBuild
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2012-08-16 01:27:49 +0700
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 23:08:17 -0500
commit613a0ed457d65970826ad0402b18a79cdd360883 (patch)
treeb67d4918581b46cb7834cf1fb36aab2f135009d7 /academic/extrema/extrema.SlackBuild
parent03c564a8a45231452ccce3370a8c8feac59e0c58 (diff)
academic/extrema: Included patch to build against gcc-4.7.x
Signed-off-by: Binh Nguyen <binhnguyen@fastmail.fm> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'academic/extrema/extrema.SlackBuild')
-rw-r--r--academic/extrema/extrema.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/extrema/extrema.SlackBuild b/academic/extrema/extrema.SlackBuild
index 01470a69cca5f..2a574934ad3ea 100644
--- a/academic/extrema/extrema.SlackBuild
+++ b/academic/extrema/extrema.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for extrema
-# Copyright 2010-2011 Binh Nguyen <binhnguyen@fastmail.fm>
+# Copyright 2010-2012 Binh Nguyen <binhnguyen@fastmail.fm>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=extrema
VERSION=${VERSION:-4.4.5}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix building with gcc-4.7
+patch -p1 < $CWD/extrema-4.4.5-gcc47.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \