summaryrefslogtreecommitdiff
path: root/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch
blob: e038bf570abf173d8fc5c21b435cece6e68011aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Issue in autoconf which is already fixed upstream but we can't autoreconf,
it seems.
--- a/unix/configure
+++ b/unix/configure
@@ -2928,6 +2928,7 @@ cat confdefs.h >>conftest.$ac_ext
 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))