From 2a406c5075d9310a32d63adffa6b784e4c348019 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 27 Nov 2016 15:22:30 +0700 Subject: [PATCH] academic/sage: Downgraded to 7.2. Built in python was compiled against UCS-4. Slackware's readline is not linked to ncurses, causing problems similar to here: https://bugs.archlinux.org/task/39731. We will try to bump sage in the next Slackware release when everything is fixed, including Python that is compiled against UCS-4. Adding a note for now. Thanks to Mehran Hosseini for the bug report. Signed-off-by: Willy Sudiarto Raharjo --- academic/sage/README | 11 +++++++++++ academic/sage/sage.SlackBuild | 2 +- academic/sage/sage.info | 6 +++--- 3 files changed, 15 insertions(+), 4 deletions(-) diff --git a/academic/sage/README b/academic/sage/README index 95e4799699..e0c4bc33c1 100644 --- a/academic/sage/README +++ b/academic/sage/README @@ -14,3 +14,14 @@ redefine $TMP and/or $OUTPUT. See README.BUILDOPTS for additional (important) information about build options and such. + +NOTE: +Future SAGE (7.3+) requires some changes in Slackware's core packages: +- readline must be linked to ncurses + Get readline's SlackBuild script, change this line + make $NUMJOBS static shared || make static shared || exit 1 + into + make $NUMJOBS static shared SHLIB_LIBS=-lncurses || make static + shared SHLIB_LIBS=-lncurses || exit 1 + and rebuilt readline. +- Python rebuilt against UCS-4 (enabled by default in next Slackware) diff --git a/academic/sage/sage.SlackBuild b/academic/sage/sage.SlackBuild index 3ecd0835ec..000e190b1b 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.3} +VERSION=${VERSION:-7.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} diff --git a/academic/sage/sage.info b/academic/sage/sage.info index 0e8afb1f92..3ca0311d53 100644 --- a/academic/sage/sage.info +++ b/academic/sage/sage.info @@ -1,8 +1,8 @@ PRGNAM="sage" -VERSION="7.3" +VERSION="7.2" HOMEPAGE="http://www.sagemath.org" -DOWNLOAD="http://mirrors.mit.edu/sage/src/sage-7.3.tar.gz" -MD5SUM="a289e955f9c94be3e4420ee86d8302a7" +DOWNLOAD="http://mirrors.mit.edu/sage/src/sage-7.2.tar.gz" +MD5SUM="d0c5e81683dc79a7654206e57e6e727a" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""