summary refs log tree commit diff
path: root/pkgs/development/tools/build-managers/gnumake/4.2/glibc-2.27.patch
blob: c2639c6cc927fdcbc70870679c797a20977424f5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 48c8a116a914a325a0497721f5d8b58d5bba34d4 Mon Sep 17 00:00:00 2001
From: Paul Smith <psmith@gnu.org>
Date: Sun, 19 Nov 2017 15:09:16 -0500
Subject: * configure.ac: Support GLIBC glob interface version 2

---
 configure.ac | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff -Naur a/configure b/configure
--- configure	2016-06-10 19:03:21.000000000 -0400
+++ configure	2018-02-18 04:40:32.971371555 -0500
@@ -11481,10 +11481,9 @@
 #include <glob.h>
 #include <fnmatch.h>
 
-#define GLOB_INTERFACE_VERSION 1
 #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1
 # include <gnu-versions.h>
-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION
+# if _GNU_GLOB_INTERFACE_VERSION == 1 || _GNU_GLOB_INTERFACE_VERSION == 2
    gnu glob
 # endif
 #endif