mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-03 02:23:11 +02:00
singular: rebuild for flintlib
This commit is contained in:
parent
dc849cc9ef
commit
990368c5d5
2 changed files with 30 additions and 1 deletions
29
srcpkgs/singular/patches/flint-3.3.patch
Normal file
29
srcpkgs/singular/patches/flint-3.3.patch
Normal file
|
@ -0,0 +1,29 @@
|
|||
Taken from:
|
||||
https://gitlab.archlinux.org/archlinux/packaging/packages/singular/-/blob/main/flint-3.3.patch
|
||||
|
||||
diff --git a/factory/FLINTconvert.cc b/factory/FLINTconvert.cc
|
||||
index c36f6022d..67c271c5a 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 89152f5e4..56d527c16 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);
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'singular'
|
||||
pkgname=singular
|
||||
version=4.4.1
|
||||
revision=2
|
||||
revision=3
|
||||
_majver=${version%p*}
|
||||
build_style=gnu-configure
|
||||
configure_args="--with-readline=ncurses
|
||||
|
|
Loading…
Add table
Reference in a new issue