summaryrefslogtreecommitdiffstats
path: root/academic/sage/sage.SlackBuild
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo2017-03-09 13:34:45 +0100
committer Willy Sudiarto Raharjo2017-03-17 16:23:57 +0100
commit99ba16328b5067fb32582337adaa532d28cd9788 (patch)
tree4df03c80b1b3d21db08d22224f91fcc19713c6ab /academic/sage/sage.SlackBuild
parent2d96a7743590dda82fac4419e34e75249fbbb19b (diff)
downloadold.slackbuilds-99ba16328b5067fb32582337adaa532d28cd9788.tar.gz
academic/sage: Updated for version 7.5.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'academic/sage/sage.SlackBuild')
-rw-r--r--academic/sage/sage.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild
index 000e190b1b..2fe601f8ac 100644
--- a/academic/sage/sage.SlackBuild
+++ b/academic/sage/sage.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=sage
-VERSION=${VERSION:-7.2}
+VERSION=${VERSION:-7.5.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -67,7 +67,12 @@ patch -p0 < $CWD/pynac.patch
patch -p1 < $CWD/sage-build-root.patch
# Thanks to Philip Lacroix <slackph@posteo.de>
-rm build/pkgs/python2/patches/sys_path_security.patch
+rm build/pkgs/python2/patches/sys_path_security-issue_16202.patch
+
+# Fix mpir sed issue in -current but works as well for 14.2
+# https://github.com/wbhart/mpir/commit/fdb590023f7ca4b2e881a2e9573718e7ed180f03.patch
+mkdir $TMP/$PRGNAM-$VERSION/build/pkgs/mpir/patches
+cp $CWD/mpir-sed-fix.patch $TMP/$PRGNAM-$VERSION/build/pkgs/mpir/patches
make