Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] giac: update to 1.9.0.63.
Date: Fri, 20 Oct 2023 02:31:08 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46787@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 1240 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/46787

giac: update to 1.9.0.63.
<!-- 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/46787.patch is attached

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

From f7ae5efa08b3ef6c2d72b1e7db32081c3f9df25c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Gonzalo=20Tornar=C3=ADa?= <tornaria@cmat.edu.uy>
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; i<bs; i++) {
+         rows[i] = gr->data[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"

             reply	other threads:[~2023-10-20  0:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20  0:31 tornaria [this message]
2023-10-25  1:21 ` [PR PATCH] [Updated] " tornaria
2023-10-28 21:15 ` tornaria
2023-11-04 22:01 ` [PR PATCH] [Updated] giac: update to 1.9.0.67 tornaria
2023-11-10 23:46 ` giac: update to 1.9.0.69 tornaria
2023-11-12 21:56 ` [PR PATCH] [Merged]: " leahneukirchen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46787@inbox.vuxu.org \
    --to=tornaria@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).