summaryrefslogtreecommitdiff
path: root/package/make
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-28 21:04:08 +0000
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-02-28 21:04:08 +0000
commit685022ebaed1f1b7e8dd6a71aa77950888c02975 (patch)
tree9b8efccde54e74572d34869e032181bf493009b3 /package/make
parentc8448b2143cab3c94c3a9080399bf80e94ea11bc (diff)
make: fix glibc build error
Diffstat (limited to 'package/make')
-rw-r--r--package/make/Makefile2
-rw-r--r--package/make/patches/patch-configure_ac14
2 files changed, 15 insertions, 1 deletions
diff --git a/package/make/Makefile b/package/make/Makefile
index c183371bd..670bbfe06 100644
--- a/package/make/Makefile
+++ b/package/make/Makefile
@@ -5,7 +5,7 @@ include $(ADK_TOPDIR)/rules.mk
PKG_NAME:= make
PKG_VERSION:= 4.2.1
-PKG_RELEASE:= 1
+PKG_RELEASE:= 2
PKG_HASH:= e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7
PKG_DESCR:= c/c++ code buildtool
PKG_SECTION:= dev/tools
diff --git a/package/make/patches/patch-configure_ac b/package/make/patches/patch-configure_ac
new file mode 100644
index 000000000..e155851b4
--- /dev/null
+++ b/package/make/patches/patch-configure_ac
@@ -0,0 +1,14 @@
+--- make-4.2.1.orig/configure.ac 2016-06-06 12:27:31.000000000 +0000
++++ make-4.2.1/configure.ac 2018-02-28 20:57:40.797354623 +0000
+@@ -399,10 +399,9 @@ AC_CACHE_CHECK([if system libc has GNU g
+ #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],