mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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)
This commit is contained in:
parent
9598ac3abc
commit
a2285945f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=504212
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,8 @@ COMMENT= LLL-spectral test of linear congruential random number generators
|
|||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue