Index: head/math/givaro/Makefile =================================================================== --- head/math/givaro/Makefile (revision 540396) +++ head/math/givaro/Makefile (revision 540397) @@ -1,39 +1,40 @@ # $FreeBSD$ PORTNAME= givaro PORTVERSION= 4.1.1 DISTVERSIONPREFIX=v +PORTREVISION= 1 CATEGORIES= math MAINTAINER= pi@FreeBSD.org COMMENT= C++ library for computer algebra LICENSE= CeCILL-Bv1-en.txt LICENSE_NAME= Ce[a] C[nrs] I[nria] L[ogiciel] L[ibre] B license, version 1 LICENSE_FILE= ${WRKSRC}/Licence_CeCILL-B_V1-en.txt LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept LIB_DEPENDS= libgmp.so:math/gmp USES= autoreconf compiler:c++11-lang gmake libtool pathfix pkgconfig GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-gmp="${LOCALBASE}" USE_LDCONFIG= yes INSTALL_TARGET= install-strip TEST_TARGET= check USE_GITHUB= yes GH_ACCOUNT= linbox-team OPTIONS_DEFINE= DOCS OPTIONS_SUB= yes DOCS_BUILD_DEPENDS= doxygen:devel/doxygen \ dot:graphics/graphviz DOCS_CONFIGURE_ON= --enable-doc --with-docdir=${DOCSDIR} post-install-DOCS-on: ${RMDIR} ${STAGEDIR}${DOCSDIR}/givaro-dev-html ${FIND} ${WRKSRC}/docs/givaro-html -not -type d \ | ${SED} -ne 's,^${WRKSRC}/docs/givaro-html,${DOCSDIR}/givaro-html,p' >> ${TMPPLIST} .include Index: head/math/givaro/files/patch-configure.ac =================================================================== --- head/math/givaro/files/patch-configure.ac (revision 540396) +++ head/math/givaro/files/patch-configure.ac (revision 540397) @@ -1,15 +1,15 @@ ---- 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 -if test "x${CCNAM}" = "xclang38" ; then - AX_CXX_COMPILE_STDCXX_11([noext],[mandatory]) -else - AX_CXX_COMPILE_STDCXX_11([ext],[mandatory]) -fi +AX_CXX_COMPILE_STDCXX_11([noext],[mandatory]) REQUIRED_FLAGS="$CXX11FLAGS" # Add the c++11 flags for the configure compilations as clang needs it to work properly with a glibc++ compiled with gcc BACKUP_CXXFLAGS="${CXXFLAGS}" Index: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h =================================================================== --- head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h (nonexistent) +++ head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h (revision 540397) @@ -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); + ///@} Property changes on: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int.h ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C =================================================================== --- head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C (nonexistent) +++ head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C (revision 540397) @@ -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) + { Property changes on: head/math/givaro/files/patch-src_kernel_gmp++_gmp++__int__cstor.C ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property