openjade/openjade-configure-c99.patch
Peter Fordham 171825a57b Port configure script to C99.
https://fedoraproject.org/wiki/Toolchain/PortingToModernC
Rebuilding configure with new autotools would also solve the problem.
2023-01-14 04:34:32 +00:00

16 lines
332 B
Diff

diff --git a/configure b/configure
index 89206c1..98bc43a 100755
--- a/configure
+++ b/configure
@@ -3417,8 +3417,8 @@ main ()
for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i))
|| toupper (i) != TOUPPER (i))
- exit(2);
- exit (0);
+ return 2;
+ return 0;
}
_ACEOF
rm -f conftest$ac_exeext