Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 22:25:28 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555598 - head/math/coinmumps
Message-ID:  <202011172225.0AHMPSdF012750@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Tue Nov 17 22:25:28 2020
New Revision: 555598
URL: https://svnweb.freebsd.org/changeset/ports/555598

Log:
  Add workaround for new failure with Fortran GCC 10 frontend:
  
    Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
  
  PR:		246700
  Approved by:	maintainer

Modified:
  head/math/coinmumps/Makefile

Modified: head/math/coinmumps/Makefile
==============================================================================
--- head/math/coinmumps/Makefile	Tue Nov 17 22:23:24 2020	(r555597)
+++ head/math/coinmumps/Makefile	Tue Nov 17 22:25:28 2020	(r555598)
@@ -29,6 +29,14 @@ INSTALL_TARGET=	install-strip
 
 MUMPS_VERSION=	4.10.0
 
+.include <bsd.port.pre.mk>
+
+.if ${GCC_DEFAULT} >= 10
+# workaround for Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
+# in theory, this should set FCFLAGS, but the port does not conform
+FFLAGS+=	-fallow-argument-mismatch
+.endif
+
 post-extract:
 	@${RLN} ${WRKDIR}/MUMPS_${MUMPS_VERSION} ${WRKSRC}/MUMPS
 
@@ -38,4 +46,4 @@ post-patch: # from get.Mumps
 		${PATCH} -p0 < mumps_mpi.patch && \
 		${MV} MUMPS/libseq/mpi.h MUMPS/libseq/mumps_mpi.h
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>



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