1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

math/cmh: Unbreak

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2022-06-07 10:50:08 -07:00
parent 39c3c644f4
commit 895156e456
2 changed files with 13 additions and 2 deletions

View File

@ -10,8 +10,6 @@ COMMENT= Compute Igusa class polynomials
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN= does not build: lll.cpp:40:18: error: expected ';' after expression
LIB_DEPENDS= libfplll.so:math/fplll \
libgmp.so:math/gmp \
libmpc.so:math/mpc \

View File

@ -0,0 +1,13 @@
- reported to Emmanuel Thomé <emmanuel.thome@inria.fr> on 06/06/2022
--- src/lll.cpp.orig 2021-02-05 17:21:58 UTC
+++ src/lll.cpp
@@ -37,7 +37,7 @@
#ifdef HAVE_FPLLL
static void lll_fplll (mpz_t *v, mpz_t **M, const int m, const int n)
{
- ZZ_mat <mpz_t> Mp (m, n);
+ fplll::ZZ_mat <mpz_t> Mp (m, n);
int i, j;
for (i = 0; i < m; i++)