Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-8]: src/external/gpl2/gmake/dist/glob Pull up following revision(...



details:   https://anonhg.NetBSD.org/src/rev/f2971b3ad511
branches:  netbsd-8
changeset: 435013:f2971b3ad511
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Jun 07 16:02:16 2018 +0000

description:
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.

diffstat:

 external/gpl2/gmake/dist/glob/glob.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r a50d85275429 -r f2971b3ad511 external/gpl2/gmake/dist/glob/glob.c
--- a/external/gpl2/gmake/dist/glob/glob.c      Thu Jun 07 15:59:27 2018 +0000
+++ b/external/gpl2/gmake/dist/glob/glob.c      Thu Jun 07 16:02:16 2018 +0000
@@ -207,7 +207,7 @@
 #endif /* __GNU_LIBRARY__ */
 
 
-#if !defined __alloca && !(defined __GNU_LIBRARY__ || defined __GLIBC__)
+#if !defined __alloca
 
 # ifdef        __GNUC__
 #  undef alloca
@@ -230,7 +230,7 @@
 
 #endif
 
-#ifndef __GNU_LIBRARY__
+#if !defined __stat
 # define __stat stat
 # ifdef STAT_MACROS_BROKEN
 #  undef S_ISDIR



Home | Main Index | Thread Index | Old Index