Antonio Rojas pushed to branch main at Arch Linux / Packaging / Packages / pari


Commits:
5960092d by Antonio Rojas at 2024-10-01T08:49:43+02:00
upgpkg: 2.17.0-2: Fix qfcvp declaration

- - - - -


3 changed files:

- .SRCINFO
- PKGBUILD
- + qfcvp.patch


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
 pkgbase = pari
        pkgdesc = Computer algebra system designed for fast computations in 
number theory
        pkgver = 2.17.0
-       pkgrel = 1
+       pkgrel = 2
        url = https://pari.math.u-bordeaux.fr/
        arch = x86_64
        license = GPL-2.0-or-later
@@ -25,8 +25,10 @@ pkgbase = pari
        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.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 = 
e723e7cef18d08c6ece2283af9a9b4d56077c22b4fce998faaa588d389b1aea8
        sha256sums = SKIP
+       sha256sums = 
9dc74c77e2f72d672db4ee857057a18dd947474ebe8214358a8c2ea7dbf54d8c
 
 pkgname = pari


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 
 pkgname=pari
 pkgver=2.17.0
-pkgrel=1
+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)
@@ -23,14 +23,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})
+source=(https://pari.math.u-bordeaux.fr/pub/pari/unix/$pkgname-$pkgver.tar.gz{,.asc}
+        qfcvp.patch)
 sha256sums=('e723e7cef18d08c6ece2283af9a9b4d56077c22b4fce998faaa588d389b1aea8'
-            'SKIP')
+            '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() {


=====================================
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



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pari/-/commit/5960092dc6b2ad323799cade9e5ac0760934e09f

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/pari/-/commit/5960092dc6b2ad323799cade9e5ac0760934e09f
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to