git: 0056775fb9a7 - main - science/octopus: Attempt to fix build on i386

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 09 Jul 2024 10:08:45 UTC
The branch main has been updated by yuri:

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

commit 0056775fb9a72c0065768021ff456786b7fc9bb0
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-09 09:26:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-09 10:08:39 +0000

    science/octopus: Attempt to fix build on i386
    
    Reported by:    fallout
---
 science/octopus/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/science/octopus/Makefile b/science/octopus/Makefile
index 617631675471..ff74c135fcbd 100644
--- a/science/octopus/Makefile
+++ b/science/octopus/Makefile
@@ -45,6 +45,7 @@ CONFIGURE_ARGS=	--enable-shared --disable-static
 
 LDFLAGS+=	-lsymspg
 FCFLAGS+=	-I${LOCALBASE}/include -ffree-line-length-none
+FCFLAGS+=	-fallow-argument-mismatch # fix build on i386: Error: Type mismatch in argument 'dims' at (1); passed INTEGER(8) to INTEGER(4)
 
 INSTALL_TARGET=	install-strip
 TEST_TARGET=	check-short # some tests fail, see https://gitlab.com/octopus-code/octopus/-/issues/805