From owner-svn-ports-all@freebsd.org Mon Aug 17 15:34:48 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0485A3B58CA; Mon, 17 Aug 2020 15:34:48 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BVdQH6BqRz3ZvS; Mon, 17 Aug 2020 15:34:47 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id B837922EB8; Mon, 17 Aug 2020 15:34:47 +0000 (UTC) (envelope-from pkubaj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 07HFYlxB058130; Mon, 17 Aug 2020 15:34:47 GMT (envelope-from pkubaj@FreeBSD.org) Received: (from pkubaj@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 07HFYlUM058129; Mon, 17 Aug 2020 15:34:47 GMT (envelope-from pkubaj@FreeBSD.org) Message-Id: <202008171534.07HFYlUM058129@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pkubaj set sender to pkubaj@FreeBSD.org using -f From: Piotr Kubaj Date: Mon, 17 Aug 2020 15:34:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org Subject: svn commit: r545171 - branches/2020Q3/science/code_saturne X-SVN-Group: ports-branches X-SVN-Commit-Author: pkubaj X-SVN-Commit-Paths: branches/2020Q3/science/code_saturne X-SVN-Commit-Revision: 545171 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2020 15:34:48 -0000 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 \