Module Name: src Committed By: nonaka Date: Wed May 23 09:52:27 UTC 2018
Modified Files: src/external/gpl2/gmake/dist/glob: glob.c Log Message: 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.4 -r1.5 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.4 src/external/gpl2/gmake/dist/glob/glob.c:1.5 --- src/external/gpl2/gmake/dist/glob/glob.c:1.4 Mon Apr 16 16:11:40 2018 +++ src/external/gpl2/gmake/dist/glob/glob.c Wed May 23 09:52:27 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