mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-12 18:59:50 +03:00
testing/singular: upgrade to 4.4.1_p2
This commit is contained in:
parent
de9941fb0a
commit
3c5d4bc88e
2 changed files with 5 additions and 45 deletions
|
@ -2,8 +2,8 @@
|
|||
# Maintainer: Celeste <cielesti@protonmail.com>
|
||||
maintainer="Celeste <cielesti@protonmail.com>"
|
||||
pkgname=singular
|
||||
pkgver=4.4.1
|
||||
pkgrel=3
|
||||
pkgver=4.4.1_p2
|
||||
pkgrel=0
|
||||
_pkgbase="${pkgver%%_p*}"
|
||||
pkgdesc="Computer algebra system for polynomial computations"
|
||||
url="https://www.singular.uni-kl.de/"
|
||||
|
@ -22,9 +22,8 @@ subpackages="
|
|||
$pkgname-emacs::noarch
|
||||
$pkgname-doc
|
||||
"
|
||||
source="https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${_pkgbase//./-}/singular-${pkgver/_p/p}.tar.gz
|
||||
flint-3.3.0.patch
|
||||
"
|
||||
source="https://www.singular.uni-kl.de/ftp/pub/Math/Singular/SOURCES/${_pkgbase//./-}/singular-${pkgver/_p/p}.tar.gz"
|
||||
builddir="$srcdir/$pkgname-$_pkgbase"
|
||||
|
||||
build() {
|
||||
export CXXFLAGS="${CXXFLAGS/-Os/-O3}" # gotta go fast
|
||||
|
@ -63,6 +62,5 @@ emacs() {
|
|||
}
|
||||
|
||||
sha512sums="
|
||||
6c3e8d1b697c75fbbc90626d90e11d3109780ef129344b63b63ecebef635ca7e7d1f93f3c843cab46fcbff75d2806b56305b287007236cc85b7145e93f0a9531 singular-4.4.1.tar.gz
|
||||
b1cfa93d499ae4c11bdd0e7c02227d3b128ca8f4f7412b34c5d5f1d950b93d918544214f439913a3817b8f519c2cad67b45b01e20def82ccf3239679c25b38cf flint-3.3.0.patch
|
||||
a4237aaacb03cb4f5709d6636e4460bd673f44b94bc14eeae7023ab7c827bb6e9cb03bbf8f14bf62781616e749b1f8b2f08666d66b2f4a8f26088a5038b1538b singular-4.4.1p2.tar.gz
|
||||
"
|
||||
|
|
|
@ -1,38 +0,0 @@
|
|||
Patch-Source (1st hunk): https://github.com/Singular/Singular/pull/1278
|
||||
--
|
||||
From 37b65cbd2ccd13b713cfbaa9a95a6d1eda5f09d1 Mon Sep 17 00:00:00 2001
|
||||
From: Doug Torrance <dtorrance@piedmont.edu>
|
||||
Date: Wed, 11 Jun 2025 23:18:05 -0400
|
||||
Subject: [PATCH] Use fq_nmod_mat_entry instead of row pointer (removed in
|
||||
flint 3.3.0)
|
||||
|
||||
---
|
||||
factory/FLINTconvert.cc | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/factory/FLINTconvert.cc b/factory/FLINTconvert.cc
|
||||
index c36f6022d5..a4d86fd17e 100644
|
||||
--- a/factory/FLINTconvert.cc
|
||||
+++ b/factory/FLINTconvert.cc
|
||||
@@ -652,7 +652,7 @@ convertFacCFMatrix2Fq_nmod_mat_t (fq_nmod_mat_t M,
|
||||
{
|
||||
for(j=m.columns();j>0;j--)
|
||||
{
|
||||
- convertFacCF2nmod_poly_t (M->rows[i-1]+j-1, m (i,j));
|
||||
+ convertFacCF2nmod_poly_t (fq_nmod_mat_entry(M, i-1, j-1), m (i,j));
|
||||
}
|
||||
}
|
||||
}
|
||||
diff --git a/libpolys/polys/flintconv.cc b/libpolys/polys/flintconv.cc
|
||||
index 89152f5e4d..277a62bf1b 100644
|
||||
--- a/libpolys/polys/flintconv.cc
|
||||
+++ b/libpolys/polys/flintconv.cc
|
||||
@@ -331,7 +331,7 @@ void convSingMFlintFq_nmod_mat(matrix m, fq_nmod_mat_t M, const fq_nmod_ctx_t fq
|
||||
{
|
||||
for(j=MATCOLS(m);j>0;j--)
|
||||
{
|
||||
- convSingPFlintnmod_poly_t (M->rows[i-1]+j-1, MATELEM(m,i,j),r);
|
||||
+ convSingPFlintnmod_poly_t (fq_nmod_mat_entry(M, i-1, j-1), MATELEM(m,i,j),r);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue