Source-Changes-HG archive

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

src: Fix build of gmake (in tools) on new GLIBC systems



details:   https://anonhg.NetBSD.org/src/rev/56c0d645c19c
branches:  trunk
changeset: 318237:56c0d645c19c
user:      kamil <kamil%NetBSD.org@localhost>
date:      Mon Apr 16 14:39:19 2018 +0000
description:
Fix build of gmake (in tools) on new GLIBC systems

Reported on Debian and Fedora.

Reference for similar fix:
https://lists.nongnu.org/archive/html/bug-make/2017-11/msg00020.html

Tested by <Mateusz Guzik> on Fedora.
Tested by <Mandacaru Cascavel> on Debian.

diffstat:

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

diffs (12 lines):

diff -r e64d84e65b56 -r 56c0d645c19c external/gpl2/gmake/dist/glob/glob.c
--- a/external/gpl2/gmake/dist/glob/glob.c      Mon Apr 16 14:18:16 2018 +0000
+++ b/external/gpl2/gmake/dist/glob/glob.c      Mon Apr 16 14:39:19 2018 +0000
@@ -207,7 +207,7 @@
 #endif /* __GNU_LIBRARY__ */
 
 
-#if !defined __alloca && !defined __GNU_LIBRARY__
+#if !defined __alloca && defined __GNU_LIBRARY__
 
 # ifdef        __GNUC__
 #  undef alloca



Home | Main Index | Thread Index | Old Index