Magellan Linux

Contents of /trunk/make/patches/make-4.2.1-glob2.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3336 - (show annotations) (download)
Thu May 2 13:19:14 2019 UTC (5 years ago) by niro
File size: 849 byte(s)
-added 4.2.1 patches
1 From 48c8a116a914a325a0497721f5d8b58d5bba34d4 Mon Sep 17 00:00:00 2001
2 From: Paul Smith <psmith@gnu.org>
3 Date: Sun, 19 Nov 2017 15:09:16 -0500
4 Subject: * configure.ac: Support GLIBC glob interface version 2
5
6 ---
7 configure.ac | 3 +--
8 1 file changed, 1 insertion(+), 2 deletions(-)
9
10 diff --git a/configure.ac b/configure.ac
11 index 8c72568..4710832 100644
12 --- a/configure.ac
13 +++ b/configure.ac
14 @@ -404,10 +404,9 @@ AC_CACHE_CHECK([if system libc has GNU glob], [make_cv_sys_gnu_glob],
15 #include <glob.h>
16 #include <fnmatch.h>
17
18 -#define GLOB_INTERFACE_VERSION 1
19 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
20 # include <gnu-versions.h>
21 -# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
22 +# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
23 gnu glob
24 # endif
25 #endif],
26 --
27 cgit v1.0-41-gc330
28