summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-09 12:20:34 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2010-03-09 12:20:34 (GMT)
commitabb31cc27df4b8773addeb9d2f623802fff22774 (patch)
treeb041b8fc1817a5821caa65e1d6564feae85746d6
parentf229821b5b0a6a2bf5cb234b5de13913798a0fcc (diff)
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)
-rw-r--r--patches/glibc/2.3.6/300-fix-binutils-version-check.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/patches/glibc/2.3.6/300-fix-binutils-version-check.patch b/patches/glibc/2.3.6/300-fix-binutils-version-check.patch
new file mode 100644
index 0000000..3950fba
--- /dev/null
+++ b/patches/glibc/2.3.6/300-fix-binutils-version-check.patch
@@ -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;;
+