Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Sep 2020 15:49:10 +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: r549744 - head/math/lrslib
Message-ID:  <202009231549.08NFnAXd004319@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009231549.08NFnAXd004319>