Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2019 21:20:20 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r504212 - head/math/lll_spect
Message-ID:  <201906142120.x5ELKKHF006015@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Jun 14 21:20:19 2019
New Revision: 504212
URL: https://svnweb.freebsd.org/changeset/ports/504212

Log:
  math/lll_spect: fix build
  
  Add USES=compiler:c++11-lang to fix build:
  /usr/local/include/NTL/vector.h: In copy constructor 'NTL::Vec<T>::Vec(const NTL::Vec<T>&)':
  /usr/local/include/NTL/vector.h:239: error: there are no arguments to 'AllocateTo' that depend on a template parameter, so a declaration of 'AllocateTo' must be available
  /usr/local/include/NTL/vector.h:241: error: there are no arguments to 'AdjustLength' that depend on a template parameter, so a declaration of 'AdjustLength' must be available
  /usr/local/include/NTL/vector.h: At global scope:
  /usr/local/include/NTL/vector.h:242: error: expected unqualified-id at end of input
  /usr/local/include/NTL/vector.h:242: error: expected `}' at end of input
  
  Approved by:	mentors (implicite approval)

Modified:
  head/math/lll_spect/Makefile

Modified: head/math/lll_spect/Makefile
==============================================================================
--- head/math/lll_spect/Makefile	Fri Jun 14 20:20:32 2019	(r504211)
+++ head/math/lll_spect/Makefile	Fri Jun 14 21:20:19 2019	(r504212)
@@ -16,6 +16,8 @@ COMMENT=	LLL-spectral test of linear congruential rand
 BUILD_DEPENDS=	${LOCALBASE}/lib/libntl.a:math/ntl
 RUN_DEPENDS=	${LOCALBASE}/lib/libntl.a:math/ntl
 
+USES=		compiler:c++11-lang
+
 PLIST_FILES=	bin/lll_spect bin/lll_search
 PORTEXAMPLES=	examples.txt
 NO_WRKSUBDIR=	yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906142120.x5ELKKHF006015>