git: c65c786b33a8 - main - science/dirac: Broken on powerpc64, powerpc64le; Fix build on i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 02 Feb 2024 18:44:29 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c65c786b33a8c78e479cddaf6118e5c97a232bce

commit c65c786b33a8c78e479cddaf6118e5c97a232bce
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-02-02 14:58:57 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-02-02 18:44:26 +0000

    science/dirac: Broken on powerpc64, powerpc64le; Fix build on i386
    
    Reported by:    fallout
---
 science/dirac/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/science/dirac/Makefile b/science/dirac/Makefile
index 3bc508113a4d..ba9e9416ebf9 100644
--- a/science/dirac/Makefile
+++ b/science/dirac/Makefile
@@ -13,8 +13,9 @@ WWW=		http://diracprogram.org/doku.php
 LICENSE=	LGPL21
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_armv7=	compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
-BROKEN_i386=	error: Type mismatch in argument 'dsetid' at (1); passed INTEGER(8) to INTEGER(4), see https://gitlab.com/dirac/dirac/-/issues/36
+BROKEN_armv7=		compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
+BROKEN_powerpc64=	compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
+BROKEN_powerpc64le=	compilation fails: Error: Old-style type declaration REAL*16 not supported at (1)
 
 BUILD_DEPENDS=	gmake:devel/gmake
 LIB_DEPENDS=	libblas.so:math/blas \
@@ -36,7 +37,7 @@ CMAKE_ARGS=	-DMKL_FLAG=off
 
 CFLAGS+=	-DSYS_LINUX # see https://gitlab.com/dirac/dirac/-/issues/32
 CXXFLAGS+=	-DSYS_LINUX
-FFLAGS+=	-DSYS_LINUX
+FFLAGS+=	-DSYS_LINUX -fallow-argument-mismatch # -fallow-argument-mismatch to fix build on i386, see https://gitlab.com/dirac/dirac/-/issues/36
 LDFLAGS+=	-llapack -lblas
 
 BINARY_ALIAS=	make=${GMAKE} \