Date: Sunday, December 23, 2018 @ 21:28:12 Author: arojas Revision: 417670
Rebuild with ecl 16.1.3 and add patch to prevent SIGFPE crashes in sagemath Added: maxima-ecl/trunk/maxima-sigfpe.patch Modified: maxima-ecl/trunk/PKGBUILD ---------------------+ PKGBUILD | 13 ++++++++----- maxima-sigfpe.patch | 7 +++++++ 2 files changed, 15 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-12-23 20:54:29 UTC (rev 417669) +++ PKGBUILD 2018-12-23 21:28:12 UTC (rev 417670) @@ -6,13 +6,13 @@ pkgname=maxima-ecl _pkgname=maxima pkgver=5.42.1 -_eclver=16.1.2 -pkgrel=2 +_eclver=16.1.3 +pkgrel=3 pkgdesc="A sophisticated computer algebra system (compiled against ecl)" arch=(x86_64) license=(GPL) url="https://maxima.sourceforge.net" -depends=(ecl-16.1.2 texinfo shared-mime-info) +depends=(ecl texinfo shared-mime-info) makedepends=(python emacs patch) optdepends=('gnuplot: plotting capabilities' 'rlwrap: readline support via /usr/bin/rmaxima' 'tk: graphical xmaxima interface') conflicts=(maxima) @@ -19,11 +19,12 @@ provides=(maxima) options=(!zipman) # don't zip info pages or they won't work inside maxima source=("https://downloads.sourceforge.net/sourceforge/${_pkgname}/${_pkgname}-${pkgver}.tar.gz" - build-fasl.patch matrixexp.patch stack.patch) + build-fasl.patch matrixexp.patch stack.patch maxima-sigfpe.patch) sha256sums=('8f555aec33bc61b5a3ee0fe2e9d6c1179db67a2ff7e0eceb6bb614058eeb40cd' '90ced3b33361fa24c2b417e0aeba8956892f0965b4a22d57d0c04115f2a3274b' 'ef1bc6a15fc982ff8c6aa1800bbbd3284d9e060ca27abf9d8c1266632c0c2619' - '60ed7d96da06361a2f2f2e9df36aecae0384fe454bf3f963a2cab6033e1bd7a5') + '60ed7d96da06361a2f2f2e9df36aecae0384fe454bf3f963a2cab6033e1bd7a5' + '836cc2ab81404bb46660cde0d256482f9716bc319d0d0cb1773a1da8f74917e9') prepare() { cd $_pkgname-$pkgver @@ -34,6 +35,8 @@ patch -p1 -i ../matrixexp.patch # fix segfaults in sagemath patch -p1 -i ../stack.patch +# fix SIGFPE in sagemath + patch -p1 -i ../maxima-sigfpe.patch } build() { Added: maxima-sigfpe.patch =================================================================== --- maxima-sigfpe.patch (rev 0) +++ maxima-sigfpe.patch 2018-12-23 21:28:12 UTC (rev 417670) @@ -0,0 +1,7 @@ +--- maxima-5.42.1/src/ecl-port.lisp.orig 2018-12-23 21:10:48.994571328 +0000 ++++ maxima-5.42.1/src/ecl-port.lisp 2018-12-23 21:10:56.384558865 +0000 +@@ -20,4 +20,3 @@ + s))) + + (si::trap-fpe 'floating-point-underflow nil) +-(si::trap-fpe 'floating-point-overflow t)
