Skip to content

Commit

Permalink
addpatch: maxima 5.47.0-14
Browse files Browse the repository at this point in the history
Fix outdated config.{guess,sub}, reported here: https://sourceforge.net/p/maxima/bugs/4382/

Disable sbcl backend. There are problems when building with sbcl backend
enabled, like:
- Interactive questions
- A REPL pops up several times

I suspect this is sbcl bug on riscv64.
  • Loading branch information
kxxt authored and felixonmars committed Oct 8, 2024
1 parent 298ef6a commit ba93ec3
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions maxima/riscv64.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
--- PKGBUILD
+++ PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Damir Perisa <damir@archlinux.org>

pkgbase=maxima
-pkgname=($pkgbase{,-sbcl,-ecl,-fas})
+pkgname=($pkgbase{,-ecl,-fas})
pkgver=5.47.0
_sbclver=2.4.7
_eclver=23.9.9
@@ -13,7 +13,7 @@ arch=(x86_64)
license=(GPL)
url='http://maxima.sourceforge.net'
depends=(texinfo shared-mime-info)
-makedepends=(python emacs ecl sbcl)
+makedepends=(python emacs ecl)
# needs rebuild when bash changes version
# needs a rebuild when ecl or sbcl changes version
options=(!zipman) # don't zip info pages or they won't work inside maxima
@@ -35,14 +35,14 @@ prepare() {

build() {
cd $pkgbase-$pkgver
+ autoreconf -fiv
./configure \
--prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--libexecdir=/usr/lib \
- --enable-sbcl \
--enable-ecl \
- --with-default-lisp=sbcl
+ --with-default-lisp=ecl

# help avoid (re)running makeinfo/tex
touch doc/info/maxima.info

0 comments on commit ba93ec3

Please sign in to comment.