Source-Changes-HG archive

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

[src/trunk]: src/external/gpl2/gmake/dist/glob Fix build of gmake (in tools) ...



details:   https://anonhg.NetBSD.org/src/rev/3a5358a77a00
branches:  trunk
changeset: 322070:3a5358a77a00
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 0f613e74230a -r 3a5358a77a00 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