git: 97d9eee70f2d - main - cad/scotch: Fix building with Flang and newest Clang

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 11 Dec 2025 11:02:47 UTC
The branch main has been updated by arrowd:

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

commit 97d9eee70f2d00312e5d3f33f509582499691837
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-12-10 18:56:07 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-12-11 11:02:42 +0000

    cad/scotch: Fix building with Flang and newest Clang
---
 cad/scotch/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/cad/scotch/Makefile b/cad/scotch/Makefile
index 6864892442f4..624357ac79ac 100644
--- a/cad/scotch/Makefile
+++ b/cad/scotch/Makefile
@@ -28,6 +28,7 @@ INSTALL_WRKSRC=	${BUILD_WRKSRC}
 TEST_WRKSRC=	${BUILD_WRKSRC}
 ALL_TARGET=	esmumps
 TEST_TARGET=	check
+CFLAGS=		-Wno-implicit-function-declaration
 MAKE_ENV=	prefix=${STAGEDIR}${PREFIX} mandir=${STAGEDIR}${PREFIX}/share/man	\
 		-DSCOTCH_PTHREAD_NUMBER=2
 USE_LDCONFIG=	yes