Date: Tue, 7 Jan 2020 11:33:47 +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: r522325 - head/math/cln Message-ID: <202001071133.007BXlZV091808@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001071133.007BXlZV091808>