From 0951261aa76e4e8de095e3e452e93cc092854d04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Wed, 30 Mar 2022 09:41:50 -0300 Subject: [PATCH] giac: update to 1.7.0.53. --- srcpkgs/giac/patches/micropy.patch | 18 ++++++++++++++++++ srcpkgs/giac/template | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/giac/patches/micropy.patch diff --git a/srcpkgs/giac/patches/micropy.patch b/srcpkgs/giac/patches/micropy.patch new file mode 100644 index 0000000000..0e417a5a8e --- /dev/null +++ b/srcpkgs/giac/patches/micropy.patch @@ -0,0 +1,18 @@ +--- a/src/icas.cc 2021-03-02 04:52:40.000000000 -0300 ++++ b/src/icas.cc 2022-03-30 10:00:39.154056068 -0300 +@@ -1810,6 +1810,7 @@ + cerr << "// Setting tex log" << '\n'; + show_tex=true; + } ++#ifdef HAVE_LIBMICROPYTHON + if (getenv("GIAC_MICROPY")){ + cerr << "Micropython mode\n"; + python_compat(4 | python_compat(contextptr),contextptr); +@@ -1821,6 +1822,7 @@ + return 0; + } + } ++#endif + #ifdef HAVE_LIBREADLINE + if (ARGC==1){ + int taillemax=1000; diff --git a/srcpkgs/giac/template b/srcpkgs/giac/template index 2c192c2b85..fbdadc31dd 100644 --- a/srcpkgs/giac/template +++ b/srcpkgs/giac/template @@ -1,6 +1,6 @@ # Template file for 'giac' pkgname=giac -version=1.7.0.45 +version=1.7.0.53 revision=1 wrksrc="giac-${version%.*}" build_style=gnu-configure @@ -12,8 +12,9 @@ short_desc="Free computer algebra system" maintainer="Gonzalo TornarĂ­a " 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=028b9e323d81a261a243c0768d5e12f3d76371eff05fd24cf2eb177b445f1da6 +checksum=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f # need more than 4*65536 stack, see try_parse() in gen.cc line 11812 LDFLAGS="-Wl,-z,stack-size=2097152"