From owner-svn-ports-head@freebsd.org Sun Aug 2 20:16:48 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 199263A665E; Sun, 2 Aug 2020 20:16:48 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BKXNb6wd6z3dtk; Sun, 2 Aug 2020 20:16:47 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D0E8A9205; Sun, 2 Aug 2020 20:16:47 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 072KGl9u040381; Sun, 2 Aug 2020 20:16:47 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 072KGl52040377; Sun, 2 Aug 2020 20:16:47 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202008022016.072KGl52040377@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Sun, 2 Aug 2020 20:16:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r543997 - head/math/e-antic/files X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: head/math/e-antic/files X-SVN-Commit-Revision: 543997 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Aug 2020 20:16:48 -0000 Author: thierry Date: Sun Aug 2 20:16:46 2020 New Revision: 543997 URL: https://svnweb.freebsd.org/changeset/ports/543997 Log: Chase math/flint2. Added: head/math/e-antic/files/ head/math/e-antic/files/patch-e-antic_e-antic.h (contents, props changed) head/math/e-antic/files/patch-e-antic_poly__extra.h (contents, props changed) head/math/e-antic/files/patch-nf__elem_mul.c (contents, props changed) head/math/e-antic/files/patch-nf__elem_reduce.c (contents, props changed) Added: head/math/e-antic/files/patch-e-antic_e-antic.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/e-antic/files/patch-e-antic_e-antic.h Sun Aug 2 20:16:46 2020 (r543997) @@ -0,0 +1,13 @@ +--- e-antic/e-antic.h.orig 2020-06-13 18:49:26 UTC ++++ e-antic/e-antic.h +@@ -20,8 +20,8 @@ extern "C" { + + /* check flint version */ + +-#if __FLINT_RELEASE != 20502 && __FLINT_RELEASE != 20503 && __FLINT_RELEASE != 20600 +-#error FLINT 2.5.2 or 2.5.3 required ++#if __FLINT_RELEASE < 20502 ++#error FLINT >= 2.5.2 required + #endif + + #ifdef __cplusplus Added: head/math/e-antic/files/patch-e-antic_poly__extra.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/e-antic/files/patch-e-antic_poly__extra.h Sun Aug 2 20:16:46 2020 (r543997) @@ -0,0 +1,28 @@ +--- e-antic/poly_extra.h.orig 2020-06-13 18:49:26 UTC ++++ e-antic/poly_extra.h +@@ -262,7 +262,7 @@ void fmpz_poly_evaluate_at_one(fmpz_t res, fmpz * p, s + return _fmpz_vec_sum(res, p, len); + } + +-#if __FLINT_RELEASE != 20600 ++#if __FLINT_RELEASE < 20600 + static __inline__ + double fmpq_get_d(const fmpq_t q) + { +@@ -346,14 +346,14 @@ void _fmpz_poly_num_real_roots_sturm(slong * n_neg, sl + + void fmpz_poly_product_roots_fmpq_vec(fmpz_poly_t poly, const fmpq * xs, slong n); + +-#elif __FLINT_RELEASE == 20503 || __FLINT_RELEASE == 20600 ++#elif __FLINT_RELEASE > 20502 + + #define _EANTIC_FIXED_fmpq_poly_get_str_pretty _fmpq_poly_get_str_pretty + #define EANTIC_FIXED_fmpq_poly_get_str_pretty fmpq_poly_get_str_pretty + + #else + +-#error "Invalid flint release: e-antic needs flint-2.5.2, flint-2.5.3 or flint-2.6.0" ++#error "Invalid flint release: e-antic needs flint >= 2.5.2" + + #endif + Added: head/math/e-antic/files/patch-nf__elem_mul.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/e-antic/files/patch-nf__elem_mul.c Sun Aug 2 20:16:46 2020 (r543997) @@ -0,0 +1,11 @@ +--- nf_elem/mul.c.orig 2020-06-13 18:49:26 UTC ++++ nf_elem/mul.c +@@ -127,7 +127,7 @@ void _nf_elem_mul_red(nf_elem_t a, const nf_elem_t b, + + _fmpz_vec_set(r, NF_ELEM_NUMREF(a), plen); + +-#if __FLINT_RELEASE == 20600 ++#if __FLINT_RELEASE >= 20600 + _fmpz_poly_divrem(q, NF_ELEM_NUMREF(a), r, plen, + fmpq_poly_numref(nf->pol), len, 0); + #else Added: head/math/e-antic/files/patch-nf__elem_reduce.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/e-antic/files/patch-nf__elem_reduce.c Sun Aug 2 20:16:46 2020 (r543997) @@ -0,0 +1,11 @@ +--- nf_elem/reduce.c.orig 2020-06-13 18:49:26 UTC ++++ nf_elem/reduce.c +@@ -80,7 +80,7 @@ void _nf_elem_reduce(nf_elem_t a, const nf_t nf) + + _fmpz_vec_set(r, NF_ELEM_NUMREF(a), plen); + +-#if __FLINT_RELEASE == 20600 ++#if __FLINT_RELEASE >= 20600 + _fmpz_poly_divrem(q, NF_ELEM_NUMREF(a), r, plen, + fmpq_poly_numref(nf->pol), len, 0); + #else