svn commit: r545171 - branches/2020Q3/science/code_saturne

Piotr Kubaj pkubaj at FreeBSD.org
Mon Aug 17 15:34:48 UTC 2020


Author: pkubaj
Date: Mon Aug 17 15:34:47 2020
New Revision: 545171
URL: https://svnweb.freebsd.org/changeset/ports/545171

Log:
  MFH: r545169
  
  science/code_saturne: fix build on GCC architectures
  
  Use C++11 compiler:
  cs_paramedmem_remapper.cxx:124: error: ISO C++ forbids initialization of member '_sphere_cen'
  
  Define __XSI_VISIBLE to make gettimeofday() available.
  
  Approved by:	portmgr (fix build blanket)

Modified:
  branches/2020Q3/science/code_saturne/Makefile
Directory Properties:
  branches/2020Q3/   (props changed)

Modified: branches/2020Q3/science/code_saturne/Makefile
==============================================================================
--- branches/2020Q3/science/code_saturne/Makefile	Mon Aug 17 15:34:21 2020	(r545170)
+++ branches/2020Q3/science/code_saturne/Makefile	Mon Aug 17 15:34:47 2020	(r545171)
@@ -25,12 +25,13 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/
 USE_GITHUB=	yes
 GH_ACCOUNT=	code-saturne
 
-USES=		autoreconf bison fortran gettext gnome gmake iconv libtool	\
-		pyqt:5 python:3.6+ shebangfix
+USES=		autoreconf bison compiler:c11 fortran gettext gnome gmake \
+		iconv libtool pyqt:5 python:3.6+ shebangfix
 
 USE_GNOME=	libxml2
 USE_PYQT=	core gui sip widgets xml_build
 SHEBANG_FILES=	install_saturne.py tests/unittests.py bin/*.py build-aux/*.py
+CFLAGS+=	-D__XSI_VISIBLE
 CPPFLAGS+=	-I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--without-salome --without-salome-yacs --without-salome-kernel	\


More information about the svn-ports-branches mailing list