From 3a25f37603aec587f11ee909731e512b44f864fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= Date: Fri, 8 Apr 2022 20:57:31 -0300 Subject: [PATCH] giac: update to 1.7.0.57. --- srcpkgs/giac/patches/fgamma.patch | 2 +- srcpkgs/giac/patches/micropy.patch | 18 ------------------ srcpkgs/giac/template | 4 ++-- 3 files changed, 3 insertions(+), 21 deletions(-) delete mode 100644 srcpkgs/giac/patches/micropy.patch diff --git a/srcpkgs/giac/patches/fgamma.patch b/srcpkgs/giac/patches/fgamma.patch index 665803db13f3..8cdc5fda88ac 100644 --- a/srcpkgs/giac/patches/fgamma.patch +++ b/srcpkgs/giac/patches/fgamma.patch @@ -1,7 +1,7 @@ --- a/src/first.h 2017-09-22 20:44:12.000000000 +0200 +++ b/src/first.h 2017-11-14 15:26:53.529711489 +0100 @@ -503,7 +503,7 @@ - #if defined(__MINGW_H) || defined(VISUALC) // FIXME gamma, not used + #if defined(__MINGW_H) || defined(VISUALC) || defined(FXCG)// FIXME gamma, not used inline float fgamma(float f1){ return f1; } #else -inline float fgamma(float f1){ return gammaf(f1); } // or tgammaf(f1) on some versions of emscripten diff --git a/srcpkgs/giac/patches/micropy.patch b/srcpkgs/giac/patches/micropy.patch deleted file mode 100644 index 0e417a5a8ecb..000000000000 --- a/srcpkgs/giac/patches/micropy.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- 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 fbdadc31dde7..2bc34d450c5e 100644 --- a/srcpkgs/giac/template +++ b/srcpkgs/giac/template @@ -1,6 +1,6 @@ # Template file for 'giac' pkgname=giac -version=1.7.0.53 +version=1.7.0.57 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=74e5f98f63147c0197e4ce309601ae745312761be61c1a99c8a6bab4862e4a9f +checksum=54c50aa869f05e72c4258fa01c7c6d88fb5c7575d9fdc302dcdb722589f8d3d7 # need more than 4*65536 stack, see try_parse() in gen.cc line 11812 LDFLAGS="-Wl,-z,stack-size=2097152"