summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authormartin <martin@NetBSD.org>2021-04-25 18:29:56 +0000
committermartin <martin@NetBSD.org>2021-04-25 18:29:56 +0000
commita196fb7e92e92e379febfc1ae563d84dd800f8be (patch)
tree9247b53d7d3a657e40f16b24ab875e65296e3d5c /external
parentcc86ee7490722d64bc609313b31f56e1cceb9a57 (diff)
Pull up following revision(s) (requested by cjep in ticket #1253):
external/gpl2/texinfo/dist/configure: revision 1.3 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 (limited to 'external')
-rwxr-xr-xexternal/gpl2/texinfo/dist/configure1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/gpl2/texinfo/dist/configure b/external/gpl2/texinfo/dist/configure
index fd5d71f5d68..5d31c302d3e 100755
--- a/external/gpl2/texinfo/dist/configure
+++ b/external/gpl2/texinfo/dist/configure
@@ -3657,6 +3657,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))