From f7ae5efa08b3ef6c2d72b1e7db32081c3f9df25c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Sat, 30 Sep 2023 12:50:53 -0300 Subject: [PATCH] giac: update to 1.9.0.63. --- srcpkgs/giac/patches/fix-chk_fhan0.patch | 11 ++++++++++- srcpkgs/giac/patches/missing-const.patch | 11 +++++++++++ srcpkgs/giac/template | 4 ++-- 3 files changed, 23 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/giac/patches/missing-const.patch diff --git a/srcpkgs/giac/patches/fix-chk_fhan0.patch b/srcpkgs/giac/patches/fix-chk_fhan0.patch index 6546fca90c681..872ac21ccbb17 100644 --- a/srcpkgs/giac/patches/fix-chk_fhan0.patch +++ b/srcpkgs/giac/patches/fix-chk_fhan0.patch @@ -1,5 +1,14 @@ --- a/check/TP00-sol.cas.out1 2023-05-24 04:52:40.000000000 -0300 -+++ b/check/TP00-sol.cas.out1 2023-09-18 16:20:51.417477469 -0300 ++++ b/check/TP00-sol.cas.out1 2023-10-06 19:15:58.535147262 -0300 +@@ -4,7 +4,7 @@ + 23^(1/3), + 2.8438669798515, + 2.8438669798515, +-2.8438669798515, ++2.843866979851565477695440, + 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148086513282306647093844609550582231725359408128481117450284102701938521105559644622948954930381964428810975665933446128475648233786783165271201909145648566923460348610454326648213393607260249141273724587006606315588174881520920962829254091715364367892590360011330530548820466521384146951941511609433057270365759591953092186117381932611793105118548074462379962749567351885752724891227938183011949129833673362440656643086021394946395224737190702179860943702770539217176293176752384674818467669405132000568127145263560827785771342757789609173637178721468440901224953430146549585371050792279689258923542019956112129021960864034418159813629774771309960518707211349999998372978049951059731732816096318595024459455346908302642522308253344685035261931188171010003137838752886587533208381420617177669147303598253490428755468731159562863882353787593751957781857780532171226806613001927876611195909216420199, + 3.141592653589793238462643, + "Warning: some commands like subs might change arguments order", @@ -30,10 +30,10 @@ 16*a^3+32*a^2*u+16*a^2*v+20*a*u^2+20*a*u*v+4*a*v^2+4*u^3+6*u^2*v+2*u*v^2, 1, diff --git a/srcpkgs/giac/patches/missing-const.patch b/srcpkgs/giac/patches/missing-const.patch new file mode 100644 index 0000000000000..c562f04ed3e4d --- /dev/null +++ b/srcpkgs/giac/patches/missing-const.patch @@ -0,0 +1,11 @@ +--- a/src/Graph.cc 2023-05-24 04:52:40.000000000 -0300 ++++ b/src/Graph.cc 2023-10-06 19:13:38.465374812 -0300 +@@ -138,7 +138,7 @@ + ++counter; + int bs=gr->size_border; + if (0 && (scale<=1 || scale>16)){ +- unsigned char *rows[bs]; ++ const unsigned char *rows[bs]; + for (int i=0; idata[i]; + } diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template index 5279a82f47056..d7574d7b0d0fb 100644 --- a/srcpkgs/giac/template +++ b/srcpkgs/giac/template @@ -1,6 +1,6 @@ # Template file for 'giac' pkgname=giac -version=1.9.0.59 +version=1.9.0.63 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=c5b1ba93f42e758f46d541b28d9350f165eaf8c459bdea80f4a73a72d43c10de +checksum=4015378ad2fe5c9c81d35aad12b5f0bbab5fbe751c67ee8765e0493421646c23 # need more than 4*65536 stack, see try_parse() in gen.cc line 11812 LDFLAGS="-Wl,-z,stack-size=2097152"