summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2025-09-06 22:51:20 +0300
committerGleb Popov <arrowd@FreeBSD.org>2025-09-06 23:01:19 +0300
commitef1cd1c76603a5aee586ee0bf0a8033c8dd987f4 (patch)
tree435b6c994b5328604460323e004f135094336698
parentmath/cmlib: Fix building with Flang (diff)
math/coin-or-metis: Fix building with Flang
-rw-r--r--math/coin-or-metis/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/coin-or-metis/Makefile b/math/coin-or-metis/Makefile
index 427f7dfdbaaa..2233cf802593 100644
--- a/math/coin-or-metis/Makefile
+++ b/math/coin-or-metis/Makefile
@@ -24,6 +24,9 @@ GH_PROJECT= ThirdParty-Metis
GNU_CONFIGURE= yes
+# Adaption of the upstream fix for Clang/Flang
+# https://github.com/coin-or-tools/ThirdParty-Metis/commit/5ace49007591f11b64f70183102549d3a9721d4b
+CFLAGS= -Wno-implicit-function-declaration
INSTALL_TARGET= install-strip
METIS_VERSION= 4.0.3 # from the script get.Metis