commit: 4919e107f95d762348df57ca9a8e75307d9222bc Author: NHOrus <jy6x2b32pie9 <AT> yahoo <DOT> com> AuthorDate: Wed May 8 09:30:27 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu May 9 01:09:05 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4919e107
sci-biology/hmmer: Add missing include into configure There are no autotools source files, so we can't just autoreconf the problem out of existence [sam: Revbump.] Closes: https://bugs.gentoo.org/900551 Signed-off-by: NHOrus <jy6x2b32pie9 <AT> yahoo.com> Closes: https://github.com/gentoo/gentoo/pull/36599 Signed-off-by: Sam James <sam <AT> gentoo.org> .../hmmer-2.3.2-fix-missing-include-in-configure.patch | 18 ++++++++++++++++++ .../{hmmer-2.3.2-r5.ebuild => hmmer-2.3.2-r6.ebuild} | 3 ++- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/sci-biology/hmmer/files/hmmer-2.3.2-fix-missing-include-in-configure.patch b/sci-biology/hmmer/files/hmmer-2.3.2-fix-missing-include-in-configure.patch new file mode 100644 index 000000000000..37683d425edb --- /dev/null +++ b/sci-biology/hmmer/files/hmmer-2.3.2-fix-missing-include-in-configure.patch @@ -0,0 +1,18 @@ +--- a/squid/configure 2024-05-08 09:21:15.751063495 -0000 ++++ b/squid/configure 2024-05-08 09:22:50.491502934 -0000 +@@ -2493,6 +2493,7 @@ + cat confdefs.h >>conftest.$ac_ext + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++#include <stdlib.h> + int + main () + { +@@ -3500,6 +3501,7 @@ + cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include <ctype.h> ++#include <stdlib.h> + #if ((' ' & 0x0FF) == 0x020) + # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') + # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) diff --git a/sci-biology/hmmer/hmmer-2.3.2-r5.ebuild b/sci-biology/hmmer/hmmer-2.3.2-r6.ebuild similarity index 94% rename from sci-biology/hmmer/hmmer-2.3.2-r5.ebuild rename to sci-biology/hmmer/hmmer-2.3.2-r6.ebuild index b305820faff3..74a8a151b0c4 100644 --- a/sci-biology/hmmer/hmmer-2.3.2-r5.ebuild +++ b/sci-biology/hmmer/hmmer-2.3.2-r6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -20,6 +20,7 @@ BDEPEND="test? ( dev-lang/perl )" PATCHES=( "${FILESDIR}/${P}-fix-perl-shebangs.patch" "${FILESDIR}/${P}-fix-build-system-destdir.patch" + "${FILESDIR}/${P}-fix-missing-include-in-configure.patch" ) src_configure() {