Source-Changes-HG archive

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

[src/netbsd-7]: src/gnu/dist/gmake/glob Pull up following revision(s) (reques...



details:   https://anonhg.NetBSD.org/src/rev/d4982eeefa5f
branches:  netbsd-7
changeset: 800514:d4982eeefa5f
user:      martin <martin%NetBSD.org@localhost>
date:      Tue Aug 07 16:04:28 2018 +0000

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

diffstat:

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

diffs (21 lines):

diff -r 66625b7a6f89 -r d4982eeefa5f gnu/dist/gmake/glob/glob.c
--- a/gnu/dist/gmake/glob/glob.c        Tue Aug 07 15:53:17 2018 +0000
+++ b/gnu/dist/gmake/glob/glob.c        Tue Aug 07 16:04:28 2018 +0000
@@ -206,7 +206,7 @@
 #endif /* __GNU_LIBRARY__ */
 
 
-#if !defined __alloca && !defined __GNU_LIBRARY__
+#if !defined __alloca
 
 # ifdef        __GNUC__
 #  undef alloca
@@ -229,7 +229,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