Github messages for voidlinux
 help / color / mirror / Atom feed
From: tornaria <tornaria@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] giac: update to 1.9.0.63.
Date: Wed, 25 Oct 2023 03:21:15 +0200	[thread overview]
Message-ID: <20231025012115.QHUhkDErSmc9XBtFhXDeHcm91TnlGiSldBSArue-9oM@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-46787@inbox.vuxu.org>

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

There is an updated 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: 6233 bytes --]

From bbc5072ce0ef8c2ec5ab00cd49f1e1b31a69148d 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.65.

---
 srcpkgs/giac/patches/fix-chk_fhan0.patch | 15 ---------------
 srcpkgs/giac/patches/missing-const.patch | 11 +++++++++++
 srcpkgs/giac/template                    |  4 ++--
 3 files changed, 13 insertions(+), 17 deletions(-)
 delete mode 100644 srcpkgs/giac/patches/fix-chk_fhan0.patch
 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
deleted file mode 100644
index 6546fca90c681..0000000000000
--- a/srcpkgs/giac/patches/fix-chk_fhan0.patch
+++ /dev/null
@@ -1,15 +0,0 @@
---- 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
-@@ -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,
- 4.4*(x+0.49999995802767719425726646262389673108)*(x+0.50000004197233049305707985262184456402)*(x+0.80901699437494469055404981865454965242+0.58778525229247103432520509730405154890*I)*(x+0.80901699437494469055404981865454965242-0.58778525229247103432520509730405154890*I)*(x-0.30901699437494853421122297627742029997+0.95105651629515245315101034450709359529*I)*(x-0.30901699437494853421122297627742029997-0.95105651629515245315101034450709359529*I),
--4.0*(x+0.49999999999999788328925430029686609811928022330782155585549767058946497075172)*(x+0.80901699437494742410229341718281905886015458990288143106772431135263023140945+0.58778525229247312916870595463907276859765243764314599107227248075727847416235*I)*(x+0.80901699437494742410229341718281905886015458990288143106772431135263023140945-0.58778525229247312916870595463907276859765243764314599107227248075727847416235*I)*(x-0.30901699437494742410229341718281905886015458990288143106772431135263023140945+0.95105651629515357211643933337938214340569863412575022244730564443015317008520*I)*(x-0.30901699437494742410229341718281905886015458990288143106772431135263023140945-0.95105651629515357211643933337938214340569863412575022244730564443015317008520*I)*(x+0.50000000000000423695020762139072415632649460476103935691753889574803974870605+0.31797400722558614463582272906881192689588258358870001378007305967449842289426e-15*I),
-+4.0*(x+0.49999999999999788328925430029686609811928022330776429539642815014895119703600)*(x+0.80901699437494742410229341718281905886015458990288143106772431135263023140945+0.58778525229247312916870595463907276859765243764314599107227248075727847416235*I)*(x+0.80901699437494742410229341718281905886015458990288143106772431135263023140945-0.58778525229247312916870595463907276859765243764314599107227248075727847416235*I)*(x-0.30901699437494742410229341718281905886015458990288143106772431135263023140945+0.95105651629515357211643933337938214340569863412575022244730564443015317008520*I)*(x-0.30901699437494742410229341718281905886015458990288143106772431135263023140945-0.95105651629515357211643933337938214340569863412575022244730564443015317008520*I)*(x+0.50000000000000423695020762139072415632649460476116514103247668021485588860239+0.31797400722558614463582272906881240871924499768158244356057150473500445334981e-15*I),
- 0,
- (2*x+1)^2*(x^4+x^3+x^2+x+1),
--4.0*(x+0.50000000000000423695020762139072415632649460476103935691753889574803974870605)*(x+0.49999999999999788328925430029686609811928022330782155585549767058946497075172)*(x^2-0.61803398874989484820458683436563811772030917980576286213544862270526046281890*x+1.0000000000000000000000000000000000000000000000000000000000000000000000000000)*(x^2+1.6180339887498948482045868343656381177203091798057628621354486227052604628189*x+1.0000000000000000000000000000000000000000000000000000000000000000000000000000),
-+4.0*(x+0.50000000000000423695020762139072415632649460476116514103247668021485588860239)*(x+0.49999999999999788328925430029686609811928022330776429539642815014895119703600)*(x^2-0.61803398874989484820458683436563811772030917980576286213544862270526046281890*x+1.0000000000000000000000000000000000000000000000000000000000000000000000000000)*(x^2+1.6180339887498948482045868343656381177203091798057628621354486227052604628189*x+1.0000000000000000000000000000000000000000000000000000000000000000000000000000),
- (2*x+1)^2*(x^4+x^3+x^2+x+1),
- (X-1)*(X+1)*(X^2+1)*(X^2+(-sqrt(3))*X+1)*(X^2-X+1)*(X^2+X+1)*(X^2+sqrt(3)*X+1),
- (X-1)*(X+1)*(X-I)*(X+((-I)*sqrt(3)-1)/2)*(X+((-I)*3+3*sqrt(3))/6)*(X+((-I)*sqrt(3)+1)/2)*(X+((-I)*3-3*sqrt(3))/6)*(X+(I*3-3*sqrt(3))/6)*(X+(I*sqrt(3)-1)/2)*(X+I)*(X+(I*sqrt(3)+1)/2)*(X+(I*3+3*sqrt(3))/6),
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..4d6cf7584401b 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.65
 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=d65a552af116886bb087e9d91a666f5572a499d3e54c77bab7ce0fb0fb94cab9
 
 # 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-25  1:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-20  0:31 [PR PATCH] " tornaria
2023-10-25  1:21 ` tornaria [this message]
2023-10-28 21:15 ` [PR PATCH] [Updated] " 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=20231025012115.QHUhkDErSmc9XBtFhXDeHcm91TnlGiSldBSArue-9oM@z \
    --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).