From 8034411bbca56308bd9b214faf275d644e2491d0 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sun, 6 Oct 2024 13:32:36 +0000 Subject: [PATCH] extra/pari to 2.17.0-2 --- extra/pari/.SRCINFO | 12 +++++++----- extra/pari/PKGBUILD | 13 ++++++++----- extra/pari/qfcvp.patch | 13 +++++++++++++ 3 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 extra/pari/qfcvp.patch diff --git a/extra/pari/.SRCINFO b/extra/pari/.SRCINFO index d3b997925..1be8c45db 100644 --- a/extra/pari/.SRCINFO +++ b/extra/pari/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = pari pkgdesc = Computer algebra system designed for fast computations in number theory - pkgver = 2.15.5 - pkgrel = 1 + pkgver = 2.17.0 + pkgrel = 2 url = https://pari.math.u-bordeaux.fr/ arch = x86_64 license = GPL-2.0-or-later @@ -23,10 +23,12 @@ pkgbase = pari optdepends = pari-galdata: to compute Galois groups in degrees 8 through 11 optdepends = pari-seadata: needed by ellap for large primes optdepends = pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals - source = https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.15.5.tar.gz - source = https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.15.5.tar.gz.asc + source = https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.17.0.tar.gz + source = https://pari.math.u-bordeaux.fr/pub/pari/unix/pari-2.17.0.tar.gz.asc + source = qfcvp.patch validpgpkeys = 42028EA404A2E9D80AC453148F0E7C2B4522E387 - sha256sums = 0efdda7515d9d954f63324c34b34c560e60f73a81c3924a71260a2cc91d5f981 + sha256sums = e723e7cef18d08c6ece2283af9a9b4d56077c22b4fce998faaa588d389b1aea8 sha256sums = SKIP + sha256sums = 9dc74c77e2f72d672db4ee857057a18dd947474ebe8214358a8c2ea7dbf54d8c pkgname = pari diff --git a/extra/pari/PKGBUILD b/extra/pari/PKGBUILD index 91902730d..5a958e735 100644 --- a/extra/pari/PKGBUILD +++ b/extra/pari/PKGBUILD @@ -5,8 +5,8 @@ # - generalize cd Olinux-* for install-bin-sta pkgname=pari -pkgver=2.15.5 -pkgrel=1 +pkgver=2.17.0 +pkgrel=2 pkgdesc='Computer algebra system designed for fast computations in number theory' url='https://pari.math.u-bordeaux.fr/' license=(GPL-2.0-or-later) @@ -26,14 +26,17 @@ optdepends=('perl: gphelp, tex2mail' 'pari-seadata: needed by ellap for large primes' 'pari-galpol: GALPOL database of polynomials defining Galois extensions of the rationals') checkdepends=(pari-elldata pari-galdata pari-seadata pari-galpol) -source=(https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz{,.asc}) -sha256sums=('0efdda7515d9d954f63324c34b34c560e60f73a81c3924a71260a2cc91d5f981' - 'SKIP') +source=(https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz{,.asc} + qfcvp.patch) +sha256sums=('e723e7cef18d08c6ece2283af9a9b4d56077c22b4fce998faaa588d389b1aea8' + 'SKIP' + '9dc74c77e2f72d672db4ee857057a18dd947474ebe8214358a8c2ea7dbf54d8c') validpgpkeys=('42028EA404A2E9D80AC453148F0E7C2B4522E387') prepare() { cd $pkgname-$pkgver sed -e 's|DLLDFLAGS = \$DLLDFLAGS|DLLDFLAGS = $DLLDFLAGS $LDFLAGS|' -i config/Makefile.SH # Honor system LDFLAGS + patch -p1 -i ../qfcvp.patch # https://pari.math.u-bordeaux.fr/cgi-bin/bugreport.cgi?bug=2575 } build() { diff --git a/extra/pari/qfcvp.patch b/extra/pari/qfcvp.patch new file mode 100644 index 000000000..881b47f8b --- /dev/null +++ b/extra/pari/qfcvp.patch @@ -0,0 +1,13 @@ +diff --git a/src/functions/linear_algebra/qfcvp b/src/functions/linear_algebra/qfcvp +index 5ee883390a..7be5fa9570 100644 +--- a/src/functions/linear_algebra/qfcvp ++++ b/src/functions/linear_algebra/qfcvp +@@ -1,7 +1,7 @@ + Function: qfcvp + Section: linear_algebra + C-Name: qfcvp0 +-Prototype: GGDGDGD0,L,p ++Prototype: GGDGDGD0,L, + Help: qfcvp(x,t,{B},{m},{flag=0}): x being a square and symmetric + matrix representing a positive definite quadratic form, and t a vector of + the same dimension, this function deals with the vectors of whose squared