summaryrefslogtreecommitdiff
path: root/patches
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)
commitd89dc157314a95e2fe1e84fe99b79b60356074bb (patch)
tree8fbbfff56cfa5c7846fa77b45ecb8d188ecd0a54 /patches
parentcbc8a652373455cb7475ebd7d7e0c041f623871a (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.
Diffstat (limited to 'patches')
-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;;
+