From e5d97bf306dcc0c4dd1110c1060357a0e93b83b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 18 May 2024 16:59:50 -0300 Subject: [PATCH] giac: update to 1.9.0.99. --- srcpkgs/giac/patches/fix-pariclose.patch | 20 ++++++++++++++++++++ srcpkgs/giac/template | 4 ++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/giac/patches/fix-pariclose.patch diff --git a/srcpkgs/giac/patches/fix-pariclose.patch b/srcpkgs/giac/patches/fix-pariclose.patch new file mode 100644 index 00000000000000..cb1ada85004c84 --- /dev/null +++ b/srcpkgs/giac/patches/fix-pariclose.patch @@ -0,0 +1,20 @@ +--- b/src/pari.cc 2024-05-06 13:08:05.000000000 -0300 ++++ a/src/pari.cc 2024-05-18 16:57:06.688878820 -0300 +@@ -734,7 +734,7 @@ + } + + static gen pari_exec(const string & s,GIAC_CONTEXT){ +- static ensure_pari_is_ready now; ++ ensure_pari_is_ready now; + long av=avma; + void * save_pari_stack_limit = PARI_stack_limit; + PARI_stack_limit=0; // required since the stack changed +@@ -800,7 +800,7 @@ + lidnt(v,vars,false); + vars.erase(vars.begin()); + bool parse_all=false; +- static ensure_pari_is_ready now; ++ ensure_pari_is_ready now; + long av=avma; + cb_pari_err_recover=gp_err_recover; + if (setjmp(env)){ diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template index 447b376fc67460..05dd8db2ae6328 100644 --- a/srcpkgs/giac/template +++ b/srcpkgs/giac/template @@ -1,6 +1,6 @@ # Template file for 'giac' pkgname=giac -version=1.9.0.97 +version=1.9.0.99 revision=1 build_style=gnu-configure configure_args="--disable-micropy --disable-quickjs" @@ -15,7 +15,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=fb384d92a5dc54d47df930b010de13c91e0d827a684b70f9673ae6b08be5f48d +checksum=166775fbf2becd583c6ffa23ca6ca8a0b44dd7790dca8d966da767d3f6647ce4 # need more than 4*65536 stack, see try_parse() in gen.cc line 11812 LDFLAGS="-Wl,-z,stack-size=2097152"