From 196f434c965fa7b96d715407ab90f1869cfb29e9 Mon Sep 17 00:00:00 2001
From: Luka Perkov <luka@openwrt.org>
Date: Sun, 2 Feb 2014 23:41:35 +0000
Subject: [PATCH] eglibc: fix build failure on newer make versions

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39453
---
 toolchain/eglibc/patches/2.15/005-versions.patch | 11 +++++++++++
 toolchain/eglibc/patches/2.16/005-versions.patch | 11 +++++++++++
 toolchain/eglibc/patches/2.17/005-versions.patch | 11 +++++++++++
 3 files changed, 33 insertions(+)
 create mode 100644 toolchain/eglibc/patches/2.15/005-versions.patch
 create mode 100644 toolchain/eglibc/patches/2.16/005-versions.patch
 create mode 100644 toolchain/eglibc/patches/2.17/005-versions.patch

diff --git a/toolchain/eglibc/patches/2.15/005-versions.patch b/toolchain/eglibc/patches/2.15/005-versions.patch
new file mode 100644
index 0000000000..da9d2bacb5
--- /dev/null
+++ b/toolchain/eglibc/patches/2.15/005-versions.patch
@@ -0,0 +1,11 @@
+--- a/libc/configure.in
++++ b/libc/configure.in
+@@ -1037,7 +1037,7 @@
+   critic_missing="$critic_missing gcc")
+ AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
+   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
+-  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
++  [3.79* | 3.[89]* | 4.* ], critic_missing="$critic_missing make")
+ 
+ AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
+   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
diff --git a/toolchain/eglibc/patches/2.16/005-versions.patch b/toolchain/eglibc/patches/2.16/005-versions.patch
new file mode 100644
index 0000000000..98b1b929c4
--- /dev/null
+++ b/toolchain/eglibc/patches/2.16/005-versions.patch
@@ -0,0 +1,11 @@
+--- a/libc/configure.in
++++ b/libc/configure.in
+@@ -968,7 +968,7 @@
+   critic_missing="$critic_missing gcc")
+ AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
+   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
+-  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
++  [3.79* | 3.[89]* | 4.* ], critic_missing="$critic_missing make")
+ 
+ AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
+   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
diff --git a/toolchain/eglibc/patches/2.17/005-versions.patch b/toolchain/eglibc/patches/2.17/005-versions.patch
new file mode 100644
index 0000000000..c164187d33
--- /dev/null
+++ b/toolchain/eglibc/patches/2.17/005-versions.patch
@@ -0,0 +1,11 @@
+--- a/libc/configure.in
++++ b/libc/configure.in
+@@ -958,7 +958,7 @@
+   critic_missing="$critic_missing gcc")
+ AC_CHECK_PROG_VER(MAKE, gnumake gmake make, --version,
+   [GNU Make[^0-9]*\([0-9][0-9.]*\)],
+-  [3.79* | 3.[89]*], critic_missing="$critic_missing make")
++  [3.79* | 3.[89]* | 4.* ], critic_missing="$critic_missing make")
+ 
+ AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
+   [GNU gettext.* \([0-9]*\.[0-9.]*\)],
-- 
GitLab