summaryrefslogtreecommitdiff
path: root/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch')
-rw-r--r--dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch b/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch
new file mode 100644
index 000000000000..e038bf570abf
--- /dev/null
+++ b/dev-tcltk/snack/files/snack-2.2.10-configure-clang16.patch
@@ -0,0 +1,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))