Module Name: src Committed By: thorpej Date: Fri Jun 26 06:08:37 UTC 2020
Modified Files: src/external/gpl2/texinfo/dist: configure Log Message: 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. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/external/gpl2/texinfo/dist/configure Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl2/texinfo/dist/configure diff -u src/external/gpl2/texinfo/dist/configure:1.2 src/external/gpl2/texinfo/dist/configure:1.3 --- src/external/gpl2/texinfo/dist/configure:1.2 Thu Jan 14 00:34:52 2016 +++ src/external/gpl2/texinfo/dist/configure Fri Jun 26 06:08:37 2020 @@ -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))