mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-26 07:51:06 +00:00
ac4a37c8c4
This partially reverts commit 429b3e8846
.
Bring back the patches for glibc 2.12 and newer. Propagate/refresh
some patches as needed.
Signed-off-by: Alexey Neyman <stilor@att.net>
34 lines
1.8 KiB
Diff
34 lines
1.8 KiB
Diff
diff -urpN glibc-2.16.0.orig/configure glibc-2.16.0/configure
|
|
--- glibc-2.16.0.orig/configure 2012-06-30 12:12:34.000000000 -0700
|
|
+++ glibc-2.16.0/configure 2017-02-08 00:39:03.778150878 -0800
|
|
@@ -4845,7 +4845,7 @@ $as_echo_n "checking version of $MAKE...
|
|
ac_prog_version=`$MAKE --version 2>&1 | sed -n 's/^.*GNU Make[^0-9]*\([0-9][0-9.]*\).*$/\1/p'`
|
|
case $ac_prog_version in
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
|
- 3.79* | 3.[89]*)
|
|
+ 3.79* | 3.[89]* | [4-9].* | [1-9][0-9]*)
|
|
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
|
|
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
|
|
|
|
@@ -5032,7 +5032,7 @@ else
|
|
# Found it, now check the version.
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking version of $SED" >&5
|
|
$as_echo_n "checking version of $SED... " >&6; }
|
|
- ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed version \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
|
+ ac_prog_version=`$SED --version 2>&1 | sed -n 's/^.*GNU sed[^0-9]* \([0-9]*\.[0-9.]*\).*$/\1/p'`
|
|
case $ac_prog_version in
|
|
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
|
|
3.0[2-9]*|3.[1-9]*|[4-9]*)
|
|
diff -urpN glibc-2.16.0.orig/configure.in glibc-2.16.0/configure.in
|
|
--- glibc-2.16.0.orig/configure.in 2012-06-30 12:12:34.000000000 -0700
|
|
+++ glibc-2.16.0/configure.in 2017-02-08 00:14:07.996446792 -0800
|
|
@@ -940,7 +940,7 @@ AC_CHECK_PROG_VER(CC, ${ac_tool_prefix}g
|
|
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-9].* | [1-9][0-9]*], critic_missing="$critic_missing make")
|
|
|
|
AC_CHECK_PROG_VER(MSGFMT, gnumsgfmt gmsgfmt msgfmt, --version,
|
|
[GNU gettext.* \([0-9]*\.[0-9.]*\)],
|