svn commit: r549744 - head/math/lrslib

Piotr Kubaj pkubaj at FreeBSD.org
Wed Sep 23 15:49:11 UTC 2020


Author: pkubaj
Date: Wed Sep 23 15:49:10 2020
New Revision: 549744
URL: https://svnweb.freebsd.org/changeset/ports/549744

Log:
  math/lrslib: fix build on GCC architectures
  
  Use C11 compiler:
  lrslong.h:191: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_mp'
  lrslong.h:192: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  lrslong.h:193: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  lrslong.h:194: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
  lrslong.h:218: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_alloc_mp_t'
  lrslong.h:219: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'lrs_alloc_mp_vector'

Modified:
  head/math/lrslib/Makefile

Modified: head/math/lrslib/Makefile
==============================================================================
--- head/math/lrslib/Makefile	Wed Sep 23 15:42:31 2020	(r549743)
+++ head/math/lrslib/Makefile	Wed Sep 23 15:49:10 2020	(r549744)
@@ -16,7 +16,7 @@ BROKEN_i386=	error: __int128 is not supported on this 
 
 LIB_DEPENDS=	libgmp.so:math/gmp
 
-USES=		gmake libtool localbase:ldflags
+USES=		compiler:c11 gmake libtool localbase:ldflags
 USE_LDCONFIG=	yes
 
 MAKEFILE=	makefile


More information about the svn-ports-all mailing list