libc/glibc: add patch to fix binutils version check

Older glibces were not ready to handle binutils >=2.20.
Fix that, and the forseeable future.
(transplanted from 9804e6b75fd31894ee176809f108d41a5b0cbf8b)
This commit is contained in:
Yann E. MORIN" 2010-03-09 13:20:34 +01:00
parent f229821b5b
commit abb31cc27d

View File

@ -0,0 +1,20 @@
--- glibc-2.3.6.orig/configure 2010-03-08 23:10:00.000000000 +0100
+++ glibc-2.3.6/configure 2010-03-08 23:12:00.000000000 +0100
@@ -3917,7 +3917,7 @@
ac_prog_version=`$AS -v </dev/null 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*)
+ 2.1[3-9]*|2.[2-9]*|[3-9].*|1[0-9].*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
@@ -3978,7 +3978,7 @@
ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
case $ac_prog_version in
'') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
- 2.1[3-9]*)
+ 2.1[3-9]*|2.[2-9]*|[3-9].*|1[0-9].*)
ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
*) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;