From eb826724d36af82866e09ed968d39c1c5ad1dfe8 Mon Sep 17 00:00:00 2001 From: Karl-Michael Schindler Date: Tue, 2 Sep 2025 00:47:59 +0200 Subject: [PATCH] asco: fix build on Sequoia (#29241) --- science/asco/Portfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/science/asco/Portfile b/science/asco/Portfile index 28ceaec04ee..ff66dbd7bfc 100644 --- a/science/asco/Portfile +++ b/science/asco/Portfile @@ -4,7 +4,7 @@ PortSystem 1.0 name asco version 0.4.11 -revision 0 +revision 1 categories science math platforms darwin @@ -30,6 +30,10 @@ depends_build port:automake \ patchfiles implicit.patch +post-patch { + reinplace "s|main|int main|g" ${worksrcpath}/examples/rosen/bin/de36.c +} + pre-configure { system -W "${worksrcpath}" "tar xzf Autotools.tar.gz" }