svn commit: r504212 - head/math/lll_spect
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Jun 14 21:20:21 UTC 2019
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
More information about the svn-ports-all
mailing list