From owner-svn-ports-all@freebsd.org Thu Jun 25 14:59:57 2020 Return-Path: Delivered-To: svn-ports-all@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 CCBFB35CB05; Thu, 25 Jun 2020 14:59:57 +0000 (UTC) (envelope-from arrowd@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 49t38Y56hwz49TB; Thu, 25 Jun 2020 14:59:57 +0000 (UTC) (envelope-from arrowd@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 90E7724D8F; Thu, 25 Jun 2020 14:59:57 +0000 (UTC) (envelope-from arrowd@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05PExv6l005890; Thu, 25 Jun 2020 14:59:57 GMT (envelope-from arrowd@FreeBSD.org) Received: (from arrowd@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05PExuQi005887; Thu, 25 Jun 2020 14:59:56 GMT (envelope-from arrowd@FreeBSD.org) Message-Id: <202006251459.05PExuQi005887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: arrowd set sender to arrowd@FreeBSD.org using -f From: Gleb Popov Date: Thu, 25 Jun 2020 14:59:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r540397 - in head/math/givaro: . files X-SVN-Group: ports-head X-SVN-Commit-Author: arrowd X-SVN-Commit-Paths: in head/math/givaro: . files X-SVN-Commit-Revision: 540397 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.33 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: Thu, 25 Jun 2020 14:59:57 -0000 Author: arrowd Date: Thu Jun 25 14:59:56 2020 New Revision: 540397 URL: https://svnweb.freebsd.org/changeset/ports/540397 Log: math/givaro: Fix build on CURRENT. PR: 247537 Approved by: pi (maintainer) Added: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h (contents, props changed) head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C (contents, props changed) Modified: head/math/givaro/Makefile head/math/givaro/files/patch-configure.ac Modified: head/math/givaro/Makefile ============================================================================== --- head/math/givaro/Makefile Thu Jun 25 14:51:47 2020 (r540396) +++ head/math/givaro/Makefile Thu Jun 25 14:59:56 2020 (r540397) @@ -3,6 +3,7 @@ PORTNAME= givaro PORTVERSION= 4.1.1 DISTVERSIONPREFIX=v +PORTREVISION= 1 CATEGORIES= math MAINTAINER= pi@FreeBSD.org Modified: head/math/givaro/files/patch-configure.ac ============================================================================== --- head/math/givaro/files/patch-configure.ac Thu Jun 25 14:51:47 2020 (r540396) +++ head/math/givaro/files/patch-configure.ac Thu Jun 25 14:59:56 2020 (r540397) @@ -1,6 +1,6 @@ ---- configure.ac.orig 2017-11-23 13:32:58 UTC +--- configure.ac.orig 2019-06-07 13:23:45 UTC +++ configure.ac -@@ -52,11 +52,7 @@ AC_COMPILER_NAME +@@ -49,11 +49,7 @@ AC_COMPILER_NAME # We need a C++11 compiler now - AB 2014-12-12 # clang-3.8 does not support __float128 without explicitly passing it -std=c++11 Added: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h Thu Jun 25 14:59:56 2020 (r540397) @@ -0,0 +1,10 @@ +--- src/kernel/gmp++/gmp++_int.h.orig 2019-06-07 13:23:45 UTC ++++ src/kernel/gmp++/gmp++_int.h +@@ -234,6 +234,7 @@ namespace Givaro { + */ + ///@{ + giv_all_inlined Integer& operator = (const Integer& n); ++ giv_all_inlined Integer& operator = (const Integer& n) const; + giv_all_inlined Integer& logcpy(const Integer& n); + giv_all_inlined Integer& copy(const Integer& n); + ///@} Added: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C Thu Jun 25 14:59:56 2020 (r540397) @@ -0,0 +1,14 @@ +--- src/kernel/gmp++/gmp++_int_cstor.C.orig 2019-06-07 13:23:45 UTC ++++ src/kernel/gmp++/gmp++_int_cstor.C +@@ -105,6 +105,11 @@ namespace Givaro { + return logcpy(n) ; + } + ++ Integer& Integer::operator = (const Integer &n) const ++ { ++ return const_cast(this)->logcpy(n) ; ++ } ++ + + Integer& Integer::copy(const Integer &n) + {