gentoo/x11-misc/lineak-defaultplugin/files/lineak-defaultplugin-0.9.0-configure-clang16.patch
Sam James 9547993f99
x11-misc/lineak-defaultplugin: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/879781
Signed-off-by: Sam James <sam@gentoo.org>
2023-01-05 07:45:28 +00:00

15 lines
510 B
Diff

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/879781
--- a/configure
+++ b/configure
@@ -7685,6 +7685,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))