@@ -1551,6 +1551,7 @@ dist_patch_DATA = \
%D%/packages/patches/mathjax-no-a11y.patch \
%D%/packages/patches/mathjax-3.1.2-no-a11y.patch \
%D%/packages/patches/maxima-defsystem-mkdir.patch \
+ %D%/packages/patches/maxima-test-precision.patch \
%D%/packages/patches/maven-generate-component-xml.patch \
%D%/packages/patches/maven-generate-javax-inject-named.patch \
%D%/packages/patches/mcrl2-fix-1687.patch \
@@ -4358,20 +4358,21 @@ (define-public maxima
(sha256
(base32
"01wbm8jj43p7gpdj4h55aij0b44bjydn4bwb7q1wjrfs91mz143k"))
- (patches (search-patches "maxima-defsystem-mkdir.patch"))))
+ (patches (search-patches "maxima-defsystem-mkdir.patch"
+ "maxima-test-precision.patch"))))
(build-system gnu-build-system)
(inputs
`(("bash" ,bash-minimal)
("gnuplot" ,gnuplot) ;for plots
- ("sbcl" ,sbcl)
+ ("ecl" ,ecl)
("sed" ,sed)
("tk" ,tk))) ;Tcl/Tk is used by 'xmaxima'
(native-inputs
(list texinfo perl python))
(arguments
`(#:configure-flags
- ,#~(list "--enable-sbcl"
- (string-append "--with-sbcl=" #$sbcl "/bin/sbcl")
+ ,#~(list "--enable-ecl"
+ (string-append "--with-ecl=" #$ecl "/bin/ecl")
(string-append "--with-posix-shell=" #$bash-minimal "/bin/sh")
(string-append "--with-wish=" #$tk "/bin/wish"
#$(version-major+minor (package-version tk))))
@@ -4411,7 +4412,7 @@ (define-public maxima
(invoke "sh" "-c"
(string-append
"./maxima-local "
- "--lisp=sbcl "
+ "--lisp=ecl "
"--batch-string=\"run_testsuite();\" "
"| grep -q \"No unexpected errors found\""))))
;; Make sure the doc and emacs files are found in the
new file mode 100644
@@ -0,0 +1,30 @@
+https://sourceforge.net/p/maxima/mailman/maxima-bugs/thread/6321ccd9332dab3666181108.bugs%40maxima.p.sourceforge.net/#msg37707276
+
+old and new:
+0.009214957317429523 %i - 0.596914179042388
+0.009214957317428399 %i - 0.59691417904239
+
+old and new
+(- 0.009214957317429523 %i) - 0.596914179042388
+(- 0.009214957317428399 %i) - 0.59691417904239
+
+--- a/tests/rtest_gamma.mac 2023-04-01 11:32:32.998269650 +0200
++++ b/tests/rtest_gamma.mac 2023-04-01 11:34:46.611842977 +0200
+@@ -1843,7 +1843,7 @@
+ relerror(
+ gamma_incomplete(0.5,-2.5*%i),
+ -0.59691417904238855062194720247331 + 0.00921495731742953647951029973386*%i,
+- 2.81e-15);
++ 3.08e-15);
+ true;
+
+ relerror(
+@@ -1879,7 +1879,7 @@
+ relerror(
+ gamma_incomplete(0.5,2.5*%i),
+ -0.59691417904238855062194720247331 - 0.00921495731742953647951029973386*%i,
+- 2.81e-15);
++ 3.08e-15);
+ true;
+
+ relerror(