File 0001-Use-fq_nmod_mat_entry-instead-of-row-pointer-removed.patch of Package singular

From 05f5116e13c8a4f5f820c78c35944dd6d197d442 Mon Sep 17 00:00:00 2001
From: Doug Torrance <dtorrance@piedmont.edu>
Date: Sat, 14 Jun 2025 10:45:30 -0400
Subject: [PATCH 1/2] Use fq_nmod_mat_entry instead of row pointer (removed in
 flint 3.3.0) (#1278)

fixes #1279
---
 factory/FLINTconvert.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/factory/FLINTconvert.cc b/factory/FLINTconvert.cc
index c36f6022d..a4d86fd17 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));
     }
   }
 }
-- 
2.49.0

openSUSE Build Service is sponsored by