OCaml 4.14.0 rebuild
[arch-packages.git] / maxima / trunk / maxima-sbcl-gmp.patch
blob074631ea2ba0f30a076366a62b4113786836d7df
1 Patch maxima initialization for sbcl so it uses gmp for arithmetic
4 --- a/src/init-cl.lisp 2021-05-15 20:20:53.000000000 -0300
5 +++ b/src/init-cl.lisp 2022-01-04 17:45:03.838273626 -0300
6 @@ -574,8 +574,13 @@
7 (delete-file file)))))
8 *temp-files-list*))
10 +#+sbcl
11 +(eval-when (:compile-toplevel :load-toplevel :execute)
12 + (require 'sb-gmp))
14 (defun cl-user::run ()
15 "Run Maxima in its own package."
16 + #+sbcl (sb-gmp:install-gmp-funs)
17 (in-package :maxima)
18 (initialize-runtime-globals)
19 (let ((input-stream *standard-input*)