Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Nov 2020 22:27:01 +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: r555599 - head/math/ipopt
Message-ID:  <202011172227.0AHMR1LF012939@repo.freebsd.org>

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

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/ipopt/Makefile

Modified: head/math/ipopt/Makefile
==============================================================================
--- head/math/ipopt/Makefile	Tue Nov 17 22:25:28 2020	(r555598)
+++ head/math/ipopt/Makefile	Tue Nov 17 22:27:00 2020	(r555599)
@@ -41,6 +41,13 @@ DOCS_BUILD_DEPENDS=	doxygen:devel/doxygen
 
 PORTDOCS=		*
 
+.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)
+FFLAGS+=	-fallow-argument-mismatch
+.endif
+
 post-extract:
 	@(${ECHO} "Extracting Metis and Mumps ThirdParty libraries ..." )
 	@(cd ${WRKSRC}/ThirdParty/Metis && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTDIR}/metis-4.0.3.tar.gz ${EXTRACT_AFTER_ARGS});



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