svn commit: r522325 - head/math/cln
Piotr Kubaj
pkubaj at FreeBSD.org
Tue Jan 7 11:33:47 UTC 2020
Author: pkubaj
Date: Tue Jan 7 11:33:47 2020
New Revision: 522325
URL: https://svnweb.freebsd.org/changeset/ports/522325
Log:
math/cln: fix build on GCC architectures
Use new GCC to fix build after last update:
../include/cln/number.h: In function 'const type& cln::the(const cln::cl_number&)':
../include/cln/number.h:261: error: there are no arguments to 'static_assert' that depend on a template parameter, so a declaration of 'static_assert' must be available
../include/cln/number.h:261: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
Modified:
head/math/cln/Makefile
Modified: head/math/cln/Makefile
==============================================================================
--- head/math/cln/Makefile Tue Jan 7 11:14:55 2020 (r522324)
+++ head/math/cln/Makefile Tue Jan 7 11:33:47 2020 (r522325)
@@ -16,7 +16,7 @@ LIB_DEPENDS= libgmp.so:math/gmp
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-gmp=${LOCALBASE}
INSTALL_TARGET= install-strip
-USES= gmake libtool pathfix pkgconfig tar:bzip2
+USES= compiler:c11 gmake libtool pathfix pkgconfig tar:bzip2
USE_LDCONFIG= yes
INFO= cln
More information about the svn-ports-all
mailing list