From owner-svn-ports-all@freebsd.org Fri Mar 30 06:40:35 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ED5A5F762CC; Fri, 30 Mar 2018 06:40:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9F9B879721; Fri, 30 Mar 2018 06:40:34 +0000 (UTC) (envelope-from yuri@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 9A891251FF; Fri, 30 Mar 2018 06:40:34 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2U6eYLE015530; Fri, 30 Mar 2018 06:40:34 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2U6eYKt015525; Fri, 30 Mar 2018 06:40:34 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803300640.w2U6eYKt015525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Fri, 30 Mar 2018 06:40:34 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465948 - in head/math/flint2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math/flint2: . files X-SVN-Commit-Revision: 465948 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Mar 2018 06:40:35 -0000 Author: yuri Date: Fri Mar 30 06:40:34 2018 New Revision: 465948 URL: https://svnweb.freebsd.org/changeset/ports/465948 Log: math/flint2: Update g20170804 -> g20180323 Port changes: * Change to the repo that is current * Change to cmake * Update/add patches required to build on FreeBSD Added: head/math/flint2/files/ head/math/flint2/files/patch-qadic_ctx__init__conway.c (contents, props changed) Modified: head/math/flint2/Makefile head/math/flint2/distinfo head/math/flint2/pkg-plist Modified: head/math/flint2/Makefile ============================================================================== --- head/math/flint2/Makefile Fri Mar 30 06:30:37 2018 (r465947) +++ head/math/flint2/Makefile Fri Mar 30 06:40:34 2018 (r465948) @@ -1,11 +1,11 @@ # $FreeBSD$ PORTNAME= flint2 -DISTVERSION= g20170804 +DISTVERSION= g20180323 CATEGORIES= math PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ -PATCHFILES= d900af4ca348b054c0e6b2a6645a54744ec9e74b.patch:-p1 # fix 32-bit failure: https://github.com/fredrik-johansson/flint2/pull/22 +PATCHFILES= 95c58b723a9463c27d35e182dfcba6d347eca624.patch:-p1 # cmake fixes: https://github.com/wbhart/flint2/pull/459 MAINTAINER= yuri@FreeBSD.org COMMENT= Fast library for number theory @@ -16,15 +16,14 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libgmp.so:math/gmp \ libmpfr.so:math/mpfr -USES= gmake +USES= cmake:outsource GNU_CONFIGURE= yes CONFIGURE_ARGS= --disable-static USE_GITHUB= yes -GH_ACCOUNT= fredrik-johansson -GH_TAGNAME= 5f2a264 +GH_ACCOUNT= wbhart +GH_TAGNAME= 83008bd USE_LDCONFIG= yes -post-install: - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libflint.so.* +CMAKE_ON= BUILD_SHARED_LIBS .include Modified: head/math/flint2/distinfo ============================================================================== --- head/math/flint2/distinfo Fri Mar 30 06:30:37 2018 (r465947) +++ head/math/flint2/distinfo Fri Mar 30 06:40:34 2018 (r465948) @@ -1,5 +1,5 @@ -TIMESTAMP = 1522371962 -SHA256 (fredrik-johansson-flint2-g20170804-5f2a264_GH0.tar.gz) = f3400a0342d95f1f705d41a535e9298c7501991383dfeef7bf82edb7ef76bf62 -SIZE (fredrik-johansson-flint2-g20170804-5f2a264_GH0.tar.gz) = 4023335 -SHA256 (d900af4ca348b054c0e6b2a6645a54744ec9e74b.patch) = 2f3f44d274c51ca4e8ca73e4d9ec696d33649934067d5f6f36532985f3138f2a -SIZE (d900af4ca348b054c0e6b2a6645a54744ec9e74b.patch) = 1190 +TIMESTAMP = 1522384688 +SHA256 (wbhart-flint2-g20180323-83008bd_GH0.tar.gz) = 34cdd1c4dd1f9fac8b4d00a33014932786bc263dced2b55a87112fe90a4fa9dc +SIZE (wbhart-flint2-g20180323-83008bd_GH0.tar.gz) = 3889958 +SHA256 (95c58b723a9463c27d35e182dfcba6d347eca624.patch) = 00d157939827c3b2582be9388db5b4d25f92afa3808cc4cecd0ed15d5d728c92 +SIZE (95c58b723a9463c27d35e182dfcba6d347eca624.patch) = 1142 Added: head/math/flint2/files/patch-qadic_ctx__init__conway.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/flint2/files/patch-qadic_ctx__init__conway.c Fri Mar 30 06:40:34 2018 (r465948) @@ -0,0 +1,13 @@ +Workaround for https://github.com/wbhart/flint2/issues/460 + +--- qadic/ctx_init_conway.c.orig 2018-03-30 04:28:36 UTC ++++ qadic/ctx_init_conway.c +@@ -19,7 +19,7 @@ + + int flint_conway_polynomials [] = { + #if !defined( _MSC_VER) +-#include "../build/CPimport.h" ++#include "../../.build/CPimport.h" + #else + #include "CPimport.h" + #endif Modified: head/math/flint2/pkg-plist ============================================================================== --- head/math/flint2/pkg-plist Fri Mar 30 06:30:37 2018 (r465947) +++ head/math/flint2/pkg-plist Fri Mar 30 06:40:34 2018 (r465948) @@ -11,26 +11,10 @@ include/flint/fft.h include/flint/fft_tuning.h include/flint/flint.h include/flint/flintxx.h -include/flint/flintxx/default_rules.h -include/flint/flintxx/evaluation_tools.h -include/flint/flintxx/expression.h -include/flint/flintxx/expression_traits.h -include/flint/flintxx/flint_classes.h -include/flint/flintxx/flint_exception.h -include/flint/flintxx/forwarding.h -include/flint/flintxx/frandxx.h -include/flint/flintxx/ltuple.h -include/flint/flintxx/matrix.h -include/flint/flintxx/mp.h -include/flint/flintxx/rules.h -include/flint/flintxx/stdmath.h -include/flint/flintxx/traits.h -include/flint/flintxx/traits_fwd.h -include/flint/flintxx/tuple.h -include/flint/flintxx/vector.h include/flint/fmpq.h include/flint/fmpq_mat.h include/flint/fmpq_matxx.h +include/flint/fmpq_mpoly.h include/flint/fmpq_poly.h include/flint/fmpq_polyxx.h include/flint/fmpq_vec.h @@ -78,6 +62,7 @@ include/flint/fq_zech_mat.h include/flint/fq_zech_poly.h include/flint/fq_zech_poly_factor.h include/flint/fq_zech_vec.h +include/flint/gettimeofday.h include/flint/gmpcompat.h include/flint/hashmap.h include/flint/long_extras.h @@ -87,8 +72,10 @@ include/flint/mpf_vec.h include/flint/mpfr_mat.h include/flint/mpfr_vec.h include/flint/mpn_extras.h +include/flint/mpoly.h include/flint/nmod_mat.h include/flint/nmod_matxx.h +include/flint/nmod_mpoly.h include/flint/nmod_poly.h include/flint/nmod_poly_factor.h include/flint/nmod_poly_mat.h @@ -111,4 +98,3 @@ include/flint/qsieve.h include/flint/templates.h include/flint/ulong_extras.h lib/libflint.so -lib/libflint.so.13.5.2