summaryrefslogtreecommitdiff
path: root/games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch
diff options
context:
space:
mode:
Diffstat (limited to 'games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch')
-rw-r--r--games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch
new file mode 100644
index 000000000000..eae341836880
--- /dev/null
+++ b/games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch
@@ -0,0 +1,14 @@
+autoreconf fails and it's a trivial fix to the generated configure, so let's
+just patch that instead. This is fixed in autoconf itself in newer versions.
+
+https://bugs.gentoo.org/879689
+--- a/configure
++++ b/configure
+@@ -6289,6 +6289,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))