forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-arcade/yarsrevenge: fix configure w/ clang 16
Closes: https://bugs.gentoo.org/879689 Signed-off-by: Sam James <[email protected]>
- Loading branch information
1 parent
7649c0f
commit 5e75515
Showing
2 changed files
with
18 additions
and
3 deletions.
There are no files selected for viewing
14 changes: 14 additions & 0 deletions
14
games-arcade/yarsrevenge/files/yarsrevenge-0.99-configure-clang16.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters