Module Name: src Committed By: martin Date: Tue Aug 7 16:04:28 UTC 2018
Modified Files: src/gnu/dist/gmake/glob [netbsd-7]: glob.c Log Message: Pull up following revision(s) (requested by nonaka in ticket #1625): external/gpl2/gmake/dist/glob/glob.c: revision 1.5 (applied to gnu/dist/gmake) 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 -r1.1.1.1.62.1 src/gnu/dist/gmake/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/gnu/dist/gmake/glob/glob.c diff -u src/gnu/dist/gmake/glob/glob.c:1.1.1.1 src/gnu/dist/gmake/glob/glob.c:1.1.1.1.62.1 --- src/gnu/dist/gmake/glob/glob.c:1.1.1.1 Wed Mar 29 21:09:30 2006 +++ src/gnu/dist/gmake/glob/glob.c Tue Aug 7 16:04:28 2018 @@ -206,7 +206,7 @@ my_realloc (p, n) #endif /* __GNU_LIBRARY__ */ -#if !defined __alloca && !defined __GNU_LIBRARY__ +#if !defined __alloca # ifdef __GNUC__ # undef alloca @@ -229,7 +229,7 @@ extern char *alloca (); #endif -#ifndef __GNU_LIBRARY__ +#if !defined __stat # define __stat stat # ifdef STAT_MACROS_BROKEN # undef S_ISDIR