ecl: update to 23.9.9.

This commit is contained in:
Gonzalo Tornaría 2023-09-09 21:19:48 -03:00 committed by Duncan Overbruck
parent 8f846084d5
commit c50f39788a
3 changed files with 6 additions and 36 deletions
common
srcpkgs/ecl

View file

@ -4049,7 +4049,7 @@ libcxsparse.so.4 SuiteSparse-6.0.1_1
libspqr.so.4 SuiteSparse-7.2.0_1
libsuitesparseconfig.so.7 SuiteSparse-7.0.1_1
libumfpack.so.6 SuiteSparse-6.0.1_1
libecl.so.21.2 ecl-21.2.1_1
libecl.so.23.9 ecl-23.9.9_1
libecm.so.1 ecm-7.0.4_3
libcliquer.so.1 cliquer-1.22_1
libomalloc-0.9.6.so singular-4.2.1_1

View file

@ -1,31 +0,0 @@
Source: @pullmoll
Upstream: https://gitlab.com/embeddable-common-lisp/ecl/-/issues/653#note_675299471
Reason: Some architectures do not define all of the FE_.. constants
Example: mips-musl needs this
diff --git a/src/h/impl/math_fenv.h b/src/h/impl/math_fenv.h
index ea13d87b4..2afbb9549 100644
--- a/src/h/impl/math_fenv.h
+++ b/src/h/impl/math_fenv.h
@@ -55,6 +55,21 @@
#ifdef HAVE_FENV_H
# define ECL_WITHOUT_FPE_BEGIN do { fenv_t env; feholdexcept(&env);
# define ECL_WITHOUT_FPE_END fesetenv(&env); } while (0)
+# if !defined(FE_DIVBYZERO)
+# define FE_DIVBYZERO 0
+# endif
+# if !defined(FE_INVALID)
+# define FE_INVALID 0
+# endif
+# if !defined(FE_OVERFLOW)
+# define FE_OVERFLOW 0
+# endif
+# if !defined(FE_UNDERFLOW)
+# define FE_UNDERFLOW 0
+# endif
+# if !defined(FE_INEXACT)
+# define FE_INEXACT 0
+# endif
#else
# define FE_INVALID 1
# define FE_DIVBYZERO 2

View file

@ -1,6 +1,6 @@
# Template file for 'ecl'
pkgname=ecl
version=21.2.1
version=23.9.9
revision=1
build_style=gnu-configure
configure_args="--enable-gmp=system --enable-boehm=system
@ -11,9 +11,10 @@ depends="$makedepends"
short_desc="Common-Lisp interpreter as described in the X3J13 Ansi specification"
maintainer="Kyle Nusbaum <knusbaum+void@sdf.org>"
license="LGPL-2.1-or-later"
homepage="https://common-lisp.net/project/ecl/"
distfiles="https://common-lisp.net/project/ecl/static/files/release/ecl-${version}.tgz"
checksum=b15a75dcf84b8f62e68720ccab1393f9611c078fcd3afdd639a1086cad010900
homepage="https://ecl.common-lisp.dev/"
changelog="https://gitlab.com/embeddable-common-lisp/ecl/-/raw/develop/CHANGELOG"
distfiles="https://ecl.common-lisp.dev/static/files/release/ecl-${version}.tgz"
checksum=c51bdab4ca6c1173dd3fe9cfe9727bcefb97bb0a3d6434b627ca6bdaeb33f880
if [ "$CROSS_BUILD" ]; then
# Depend on system ecl