giac: update to 1.9.0.27.
This commit is contained in:
parent
a856644c92
commit
715c34ba4e
|
@ -0,0 +1,10 @@
|
|||
Fix a failing test due to thread stack overflow
|
||||
|
||||
--- a/check/chk_fhan4 2018-03-13 15:27:11.000000000 -0300
|
||||
+++ b/check/chk_fhan4 2022-10-14 18:51:12.604731890 -0300
|
||||
@@ -1,4 +1,5 @@
|
||||
#! /bin/sh
|
||||
unset LANG
|
||||
+export PARI_SIZE=2048000
|
||||
../src/icas TP04-sol.cas > TP04.tst
|
||||
diff TP04.tst TP04-sol.cas.out1
|
|
@ -0,0 +1,20 @@
|
|||
ANYARG patch
|
||||
|
||||
diff --git a/src/pari.cc b/src/pari.cc
|
||||
index 76ce8e1..50d08ab 100644
|
||||
--- a/src/pari.cc
|
||||
+++ b/src/pari.cc
|
||||
@@ -40,6 +40,13 @@ using namespace std;
|
||||
|
||||
#ifdef HAVE_LIBPARI
|
||||
|
||||
+// Anyarg disappeared from PARI 2.15.0
|
||||
+#ifdef __cplusplus
|
||||
+# define ANYARG ...
|
||||
+#else
|
||||
+# define ANYARG
|
||||
+#endif
|
||||
+
|
||||
#ifdef HAVE_PTHREAD_H
|
||||
#include <pthread.h>
|
||||
#endif
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'giac'
|
||||
pkgname=giac
|
||||
version=1.9.0.7
|
||||
version=1.9.0.27
|
||||
revision=1
|
||||
wrksrc="giac-${version%.*}"
|
||||
build_style=gnu-configure
|
||||
|
@ -14,7 +14,7 @@ license="GPL-3.0-or-later"
|
|||
homepage="https://www-fourier.ujf-grenoble.fr/~parisse/giac.html"
|
||||
changelog="https://www-fourier.ujf-grenoble.fr/~parisse/install_en#new"
|
||||
distfiles="https://www-fourier.ujf-grenoble.fr/~parisse/debian/dists/stable/main/source/giac_${version%.*}-${version##*.}.tar.gz"
|
||||
checksum=72016988b7180e9b630ecabecc60969213e7b61418c2598c91acbaec139fd740
|
||||
checksum=c5d222fbff5db2a0a560b4e106ce88dd13d109ecb21570a939b8b3b87521d5e0
|
||||
|
||||
# need more than 4*65536 stack, see try_parse() in gen.cc line 11812
|
||||
LDFLAGS="-Wl,-z,stack-size=2097152"
|
||||
|
|
Loading…
Reference in New Issue