Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl2/texinfo/dist Hack to get the "has ANSI C heade...



details:   https://anonhg.NetBSD.org/src/rev/5a58f65bdd5b
branches:  trunk
changeset: 973286:5a58f65bdd5b
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Fri Jun 26 06:08:37 2020 +0000

description:
Hack to get the "has ANSI C headers" check to pass on newer versions
of clang as bundled with Xcode.  If someone really cares about ensuring
NetBSD's host tools build on a system without <stdlib.h>, then I'm sure
that enterprising individual will also find a super #correct fix for this
specific problem.

diffstat:

 external/gpl2/texinfo/dist/configure |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r e878834e193f -r 5a58f65bdd5b external/gpl2/texinfo/dist/configure
--- a/external/gpl2/texinfo/dist/configure      Fri Jun 26 03:23:04 2020 +0000
+++ b/external/gpl2/texinfo/dist/configure      Fri Jun 26 06:08:37 2020 +0000
@@ -3657,6 +3657,7 @@
 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))



Home | Main Index | Thread Index | Old Index