Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] giac: update to 1.9.0.99.
@ 2024-05-19 21:25 tornaria
  2024-05-25 16:13 ` tornaria
  0 siblings, 1 reply; 2+ messages in thread
From: tornaria @ 2024-05-19 21:25 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

There is a new pull request by tornaria against master on the void-packages repository

https://github.com/tornaria/void-packages giac
https://github.com/void-linux/void-packages/pull/50426

giac: update to 1.9.0.99.
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **briefly**

<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!--
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


A patch file from https://github.com/void-linux/void-packages/pull/50426.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-giac-50426.patch --]
[-- Type: text/x-diff, Size: 2279 bytes --]

From e5d97bf306dcc0c4dd1110c1060357a0e93b83b8 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
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"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: giac: update to 1.9.0.99.
  2024-05-19 21:25 [PR PATCH] giac: update to 1.9.0.99 tornaria
@ 2024-05-25 16:13 ` tornaria
  0 siblings, 0 replies; 2+ messages in thread
From: tornaria @ 2024-05-25 16:13 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 184 bytes --]

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/50426#issuecomment-2131320601

Comment:
I'm holding this to sync with gsl update.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-25 16:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-19 21:25 [PR PATCH] giac: update to 1.9.0.99 tornaria
2024-05-25 16:13 ` tornaria

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).