summaryrefslogtreecommitdiffstats
path: root/academic/sage/sage.SlackBuild
diff options
context:
space:
mode:
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