From 685022ebaed1f1b7e8dd6a71aa77950888c02975 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 28 Feb 2018 21:04:08 +0000 Subject: make: fix glibc build error --- package/make/Makefile | 2 +- package/make/patches/patch-configure_ac | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 package/make/patches/patch-configure_ac (limited to 'package/make') 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 + #include + +-#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 == 1 || _GNU_GLOB_INTERFACE_VERSION == 2 + gnu glob + # endif + #endif], -- cgit v1.2.3