Magellan Linux

Contents of /trunk/glibc/patches/glibc-2.10.1-binutils-2.20.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 882 - (show annotations) (download)
Tue Oct 6 19:18:36 2009 UTC (14 years, 6 months ago) by niro
File size: 1898 byte(s)
-configure fails with binutils-2.20

1 diff -Naur glibc-2.10.1/configure glibc-2.10.1-magellan/configure
2 --- glibc-2.10.1/configure 2009-05-17 14:19:31.000000000 +0200
3 +++ glibc-2.10.1-magellan/configure 2009-10-06 21:15:31.000000000 +0200
4 @@ -4839,7 +4839,7 @@
5 ac_prog_version=`$AS --version 2>&1 | sed -n 's/^.*GNU assembler.* \([0-9]*\.[0-9.]*\).*$/\1/p'`
6 case $ac_prog_version in
7 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
8 - 2.1[3-9]*)
9 + 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|[3-9].*)
10 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
11 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
12
13 @@ -4902,7 +4902,7 @@
14 ac_prog_version=`$LD --version 2>&1 | sed -n 's/^.*GNU ld.* \([0-9][0-9]*\.[0-9.]*\).*$/\1/p'`
15 case $ac_prog_version in
16 '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
17 - 2.1[3-9]*)
18 + 2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|3-9.*)
19 ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
20 *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
21
22 diff -Naur glibc-2.10.1/configure.in glibc-2.10.1-magellan/configure.in
23 --- glibc-2.10.1/configure.in 2009-04-04 01:51:47.000000000 +0200
24 +++ glibc-2.10.1-magellan/configure.in 2009-10-06 21:16:07.000000000 +0200
25 @@ -897,10 +897,10 @@
26 # Accept binutils 2.13 or newer.
27 AC_CHECK_PROG_VER(AS, $AS, --version,
28 [GNU assembler.* \([0-9]*\.[0-9.]*\)],
29 - [2.1[3-9]*], AS=: critic_missing="$critic_missing as")
30 + [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*|[3-9].*], AS=: critic_missing="$critic_missing as")
31 AC_CHECK_PROG_VER(LD, $LD, --version,
32 [GNU ld.* \([0-9][0-9]*\.[0-9.]*\)],
33 - [2.1[3-9]*], LD=: critic_missing="$critic_missing ld")
34 + [2.1[3-9]*|2.1[0-9][0-9]*|2.[2-9]*]|[3-9].*, LD=: critic_missing="$critic_missing ld")
35
36 # We need the physical current working directory. We cannot use the
37 # "pwd -P" shell builtin since that's not portable. Instead we try to