From 2c4d6bad0e9fbfc07b524b63a517ecff5659443d Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Mon, 24 Mar 2014 16:04:57 +0100 Subject: office/texmacs: Link against guile1.8 (to avoid segfaults). Thanks to foobarz on irc for the hint Signed-off-by: Matteo Bernardini --- office/texmacs/texmacs.SlackBuild | 7 ++++++- office/texmacs/texmacs.info | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/office/texmacs/texmacs.SlackBuild b/office/texmacs/texmacs.SlackBuild index 04a1c45c38..a5df00b5b2 100644 --- a/office/texmacs/texmacs.SlackBuild +++ b/office/texmacs/texmacs.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=texmacs VERSION=${VERSION:-1.0.7.21} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} SRCNAM=TeXmacs @@ -71,6 +71,11 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Use guile1.8, guile-2.x in Slackware causes segfaults +sed -i -e "s|guile-config\ |guile-config1.8 |g" -e "s|guile\ |guile1.8 |g" configure + +export GUILE_AUTO_COMPILE=0 + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ diff --git a/office/texmacs/texmacs.info b/office/texmacs/texmacs.info index eb6259c791..d6f935225d 100644 --- a/office/texmacs/texmacs.info +++ b/office/texmacs/texmacs.info @@ -5,6 +5,6 @@ DOWNLOAD="http://www.texmacs.org/Download/ftp/tmftp/source/TeXmacs-1.0.7.21-src. MD5SUM="a56e2f14761e9003471fd26d91058ef0" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="guile1.8" MAINTAINER="Zhu Qun-Ying" EMAIL="zhu.qunying@gmail.com" -- cgit v1.2.3