From owner-svn-ports-all@freebsd.org Tue Nov 17 22:28:17 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 6408B471021; Tue, 17 Nov 2020 22:28:17 +0000 (UTC) (envelope-from linimon@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 4CbLDx2RVjz3nYv; Tue, 17 Nov 2020 22:28:17 +0000 (UTC) (envelope-from linimon@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 45DCB272CC; Tue, 17 Nov 2020 22:28:17 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AHMSHgp013108; Tue, 17 Nov 2020 22:28:17 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AHMSHIQ013107; Tue, 17 Nov 2020 22:28:17 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <202011172228.0AHMSHIQ013107@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Tue, 17 Nov 2020 22:28:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r555600 - head/science/dftbplus X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: head/science/dftbplus X-SVN-Commit-Revision: 555600 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.34 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: Tue, 17 Nov 2020 22:28:17 -0000 Author: linimon Date: Tue Nov 17 22:28:16 2020 New Revision: 555600 URL: https://svnweb.freebsd.org/changeset/ports/555600 Log: Add workaround for new failure with Fortran GCC 10 frontend: Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/CHARACTER(*)). PR: 246700 Approved by: maintainer Modified: head/science/dftbplus/Makefile Modified: head/science/dftbplus/Makefile ============================================================================== --- head/science/dftbplus/Makefile Tue Nov 17 22:27:00 2020 (r555599) +++ head/science/dftbplus/Makefile Tue Nov 17 22:28:16 2020 (r555600) @@ -62,6 +62,14 @@ ARPACK_PREVENTS= MPI # ARPACK is only used in a single MAKE_JOBS_UNSAFE= yes # race conditions when some options are ON +.include + +.if ${GCC_DEFAULT} >= 10 +# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/CHARACTER(*)). +# in theory, this should set FCFLAGS, but the port does not conform +FFLAGS+= -fallow-argument-mismatch +.endif + post-extract: @${RM} ${WRKSRC}/external/scalapackfx/origin/test/psyr_result.dat.orig @cd ${WRKSRC} && ${CP} sys/make.x86_64-linux-gnu make.arch @@ -69,4 +77,4 @@ post-extract: post-install: @cd ${STAGEDIR}${PREFIX}/bin && ${STRIP_CMD} dftb+ modes waveplot -.include +.include