etc/protocols - sync with NetBSD-8
[minix.git] / external / gpl2 / gmake / patches / 0001-support-latest-glibc.patch
blob089a87ca42ab0faf5ba9e8fbf839a382fcce689b
1 diff -rNU3 dist.orig/configure dist/configure
2 --- dist.orig/configure 2006-04-01 08:40:00.000000000 +0200
3 +++ dist/configure 2018-08-21 21:28:59.000000000 +0200
4 @@ -13622,7 +13622,7 @@
5 #define GLOB_INTERFACE_VERSION 1
6 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
7 # include <gnu-versions.h>
8 -# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
9 +# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
10 gnu glob
11 # endif
12 #endif
13 diff -rNU3 dist.orig/configure.in dist/configure.in
14 --- dist.orig/configure.in 2018-08-21 21:29:42.000000000 +0200
15 +++ dist/configure.in 2018-08-21 21:29:24.000000000 +0200
16 @@ -354,7 +354,7 @@
17 #define GLOB_INTERFACE_VERSION 1
18 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
19 # include <gnu-versions.h>
20 -# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
21 +# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
22 gnu glob
23 # endif
24 #endif
25 diff -rNU3 dist.orig/glob/glob.c dist/glob/glob.c
26 --- dist.orig/glob/glob.c 2006-03-10 03:20:45.000000000 +0100
27 +++ dist/glob/glob.c 2018-08-21 21:28:17.000000000 +0200
28 @@ -51,7 +51,7 @@
29 #define GLOB_INTERFACE_VERSION 1
30 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
31 # include <gnu-versions.h>
32 -# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
33 +# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION
34 # define ELIDE_CODE
35 # endif
36 #endif