gentoo-ebuilds/sci-biology/hmmer/files/hmmer-2.3.2-fix-missing-include-in-configure.patch
NHOrus 4919e107f9
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@yahoo.com>
Closes: https://github.com/gentoo/gentoo/pull/36599
Signed-off-by: Sam James <sam@gentoo.org>
2024-05-09 02:09:05 +01:00

18 lines
526 B
Diff

--- 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))