gentoo-ebuilds/sci-biology/tree-puzzle/files/tree-puzzle-5.2-configure-c99.patch
Sam James 7b7a0493bc
sci-biology/tree-puzzle: fix configure checks for modern c
Signed-off-by: Sam James <sam@gentoo.org>
2023-12-02 04:41:31 +00:00

20 lines
312 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -33,7 +33,7 @@ int main (int argc, char **argv)
{
MPI_Init(&argc,&argv);
MPI_Finalize();
-exit(0);
+return 0;
}
EOF
@@ -105,7 +105,7 @@ cat > conftest.c <<EOF
int main (int argc, char **argv)
{
printf ("%s-%s", PACKAGE, VERSION);
-exit(0);
+return 0;
}
EOF