From 08cc81b380f335089dc5517153b413218a6f2791 Mon Sep 17 00:00:00 2001 From: Lionel Sambuc Date: Tue, 21 Aug 2018 21:37:57 +0200 Subject: [PATCH] Fix GNU make build on new GNU glibc systems Change-Id: If4e0a96e0486bc5693ee16c520c7d4c7f49c7b9c --- .../patches/0001-support-latest-glibc.patch | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 external/gpl2/gmake/patches/0001-support-latest-glibc.patch diff --git a/external/gpl2/gmake/patches/0001-support-latest-glibc.patch b/external/gpl2/gmake/patches/0001-support-latest-glibc.patch new file mode 100644 index 000000000..089a87ca4 --- /dev/null +++ b/external/gpl2/gmake/patches/0001-support-latest-glibc.patch @@ -0,0 +1,36 @@ +diff -rNU3 dist.orig/configure dist/configure +--- dist.orig/configure 2006-04-01 08:40:00.000000000 +0200 ++++ dist/configure 2018-08-21 21:28:59.000000000 +0200 +@@ -13622,7 +13622,7 @@ + #define GLOB_INTERFACE_VERSION 1 + #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1 + # include +-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION ++# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION + gnu glob + # endif + #endif +diff -rNU3 dist.orig/configure.in dist/configure.in +--- dist.orig/configure.in 2018-08-21 21:29:42.000000000 +0200 ++++ dist/configure.in 2018-08-21 21:29:24.000000000 +0200 +@@ -354,7 +354,7 @@ + #define GLOB_INTERFACE_VERSION 1 + #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1 + # include +-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION ++# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION + gnu glob + # endif + #endif +diff -rNU3 dist.orig/glob/glob.c dist/glob/glob.c +--- dist.orig/glob/glob.c 2006-03-10 03:20:45.000000000 +0100 ++++ dist/glob/glob.c 2018-08-21 21:28:17.000000000 +0200 +@@ -51,7 +51,7 @@ + #define GLOB_INTERFACE_VERSION 1 + #if !defined _LIBC && defined __GNU_LIBRARY__ && __GNU_LIBRARY__ > 1 + # include +-# if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION ++# if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION + # define ELIDE_CODE + # endif + #endif