From d89dc157314a95e2fe1e84fe99b79b60356074bb Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Tue, 9 Mar 2010 13:20:34 +0100 Subject: 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. 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 &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;; + -- cgit v0.10.2-6-g49f6