diff options
author | Sam James <sam@gentoo.org> | 2023-12-02 04:41:31 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-12-02 04:41:31 +0000 |
commit | 7b7a0493bc6a756dcfad9e945acbc84222fb0f55 (patch) | |
tree | be5e0d2127a7293d9ea423cb008fd919d0457eb6 /sci-biology | |
parent | dev-vcs/gitolite: Stabilize 3.6.13 x86, #919002 (diff) | |
download | gentoo-7b7a0493bc6a756dcfad9e945acbc84222fb0f55.tar.gz gentoo-7b7a0493bc6a756dcfad9e945acbc84222fb0f55.tar.bz2 gentoo-7b7a0493bc6a756dcfad9e945acbc84222fb0f55.zip |
sci-biology/tree-puzzle: fix configure checks for modern c
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r-- | sci-biology/tree-puzzle/files/tree-puzzle-5.2-configure-c99.patch | 20 | ||||
-rw-r--r-- | sci-biology/tree-puzzle/tree-puzzle-5.2-r1.ebuild (renamed from sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild) | 1 |
2 files changed, 21 insertions, 0 deletions
diff --git a/sci-biology/tree-puzzle/files/tree-puzzle-5.2-configure-c99.patch b/sci-biology/tree-puzzle/files/tree-puzzle-5.2-configure-c99.patch new file mode 100644 index 000000000000..8c3834136af1 --- /dev/null +++ b/sci-biology/tree-puzzle/files/tree-puzzle-5.2-configure-c99.patch @@ -0,0 +1,20 @@ +--- 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 + diff --git a/sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild b/sci-biology/tree-puzzle/tree-puzzle-5.2-r1.ebuild index 61e95bb658d5..d3c7601397da 100644 --- a/sci-biology/tree-puzzle/tree-puzzle-5.2.ebuild +++ b/sci-biology/tree-puzzle/tree-puzzle-5.2-r1.ebuild @@ -21,6 +21,7 @@ RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-C99-decls.patch "${FILESDIR}"/${P}-MPI-3.0.patch + "${FILESDIR}"/${P}-configure-c99.patch ) src_prepare() { |