Module Name: src Committed By: martin Date: Thu Jun 7 16:02:16 UTC 2018
Modified Files: src/external/gpl2/gmake/dist/glob [netbsd-8]: glob.c Log Message: Pull up following revision(s) (requested by nonaka in ticket #836): external/gpl2/gmake/dist/glob/glob.c: revision 1.5 gmake: __alloca and __stat are provided only when building with GLIBC. Fix a build failure on Ubuntu 18.04. To generate a diff of this commit: cvs rdiff -u -r1.1.1.1.8.1 -r1.1.1.1.8.2 \ src/external/gpl2/gmake/dist/glob/glob.c 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/gmake/dist/glob/glob.c diff -u src/external/gpl2/gmake/dist/glob/glob.c:1.1.1.1.8.1 src/external/gpl2/gmake/dist/glob/glob.c:1.1.1.1.8.2 --- src/external/gpl2/gmake/dist/glob/glob.c:1.1.1.1.8.1 Tue Apr 17 08:04:34 2018 +++ src/external/gpl2/gmake/dist/glob/glob.c Thu Jun 7 16:02:16 2018 @@ -207,7 +207,7 @@ my_realloc (p, n) #endif /* __GNU_LIBRARY__ */ -#if !defined __alloca && !(defined __GNU_LIBRARY__ || defined __GLIBC__) +#if !defined __alloca # ifdef __GNUC__ # undef alloca @@ -230,7 +230,7 @@ extern char *alloca (); #endif -#ifndef __GNU_LIBRARY__ +#if !defined __stat # define __stat stat # ifdef STAT_MACROS_BROKEN # undef S_ISDIR