svn commit: r555602 - head/science/latte

Mark Linimon linimon at FreeBSD.org
Tue Nov 17 22:34:27 UTC 2020


Author: linimon
Date: Tue Nov 17 22:34:27 2020
New Revision: 555602
URL: https://svnweb.freebsd.org/changeset/ports/555602

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)/REAL(8)).
  
  PR:		246700
  Approved by:	maintainer

Modified:
  head/science/latte/Makefile

Modified: head/science/latte/Makefile
==============================================================================
--- head/science/latte/Makefile	Tue Nov 17 22:32:32 2020	(r555601)
+++ head/science/latte/Makefile	Tue Nov 17 22:34:27 2020	(r555602)
@@ -40,4 +40,12 @@ MPI_PLIST_FILES_OFF=	bin/LATTE_DOUBLE
 
 CONFLICTS_INSTALL=	latte-integrale
 
+.include <bsd.port.pre.mk>
+
+.if ${GCC_DEFAULT} >= 10
+# workaround for Type mismatch between actual argument at (1) and actual argument at (2) (COMPLEX(8)/REAL(8)).
+# in theory, this should set FCFLAGS, but the port does not conform
+FFLAGS+=	-fallow-argument-mismatch
+.endif
+
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list