components/gcc3/patches/gcc.configure.patch
changeset 1522 b74fd0949e89
parent 246 0878f7720e3e
child 5628 f2a8a7ecf3e1
--- a/components/gcc3/patches/gcc.configure.patch	Wed Oct 23 09:37:06 2013 -0700
+++ b/components/gcc3/patches/gcc.configure.patch	Thu Oct 24 14:07:47 2013 -0700
@@ -1,24 +1,25 @@
-*** gcc-3.4.3/gcc/configure.orig	Mon May  4 08:48:35 2009
---- gcc-3.4.3/gcc/configure	Mon May  4 08:59:16 2009
-***************
-*** 10539,10547 ****
-    # arbitrary sections are supported and try the test.
-    as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q`
-    if echo "$as_ver" | grep GNU > /dev/null; then
-!     as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'`
-!     as_major=`echo $as_ver | sed 's/\..*//'`
-!     as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'`
-      if test $as_major -eq 2 && test $as_minor -lt 11
-      then :
-      else gcc_cv_as_leb128=yes
---- 10539,10548 ----
-    # arbitrary sections are supported and try the test.
-    as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q`
-    if echo "$as_ver" | grep GNU > /dev/null; then
-!     as_vers=`echo $as_ver | sed -n \
-! 	-e 's,^.*[	 ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p'`
-!     as_major=`expr "$as_vers" : '\([0-9]*\)'`
-!     as_minor=`expr "$as_vers" : '[0-9]*\.\([0-9]*\)'`
-      if test $as_major -eq 2 && test $as_minor -lt 11
-      then :
-      else gcc_cv_as_leb128=yes
+--- gcc-3.4.3/gcc/configure.~1~	2004-11-08 17:49:32.000000000 -0800
++++ gcc-3.4.3/gcc/configure	2013-09-18 14:15:43.180189095 -0700
+@@ -5232,7 +5232,7 @@
+   echo "configure:5232: version of makeinfo is $ac_prog_version" >&5
+   case $ac_prog_version in
+     '')     gcc_cv_prog_makeinfo_modern=no;;
+-    4.[2-9]*)
++    4.[2-9]* | 4.1?)
+             gcc_cv_prog_makeinfo_modern=yes;;
+     *)      gcc_cv_prog_makeinfo_modern=no;;
+   esac
+@@ -10539,9 +10539,10 @@
+   # arbitrary sections are supported and try the test.
+   as_ver=`$gcc_cv_as --version 2>/dev/null | sed 1q`
+   if echo "$as_ver" | grep GNU > /dev/null; then
+-    as_ver=`echo $as_ver | sed -e 's/GNU assembler \([0-9.][0-9.]*\).*/\1/'`
+-    as_major=`echo $as_ver | sed 's/\..*//'`
+-    as_minor=`echo $as_ver | sed 's/[^.]*\.\([0-9]*\).*/\1/'`
++    as_vers=`echo $as_ver | sed -n \
++	-e 's,^.*[	 ]\([0-9][0-9]*\.[0-9][0-9]*.*\)$,\1,p'`
++    as_major=`expr "$as_vers" : '\([0-9]*\)'`
++    as_minor=`expr "$as_vers" : '[0-9]*\.\([0-9]*\)'`
+     if test $as_major -eq 2 && test $as_minor -lt 11
+     then :
+     else gcc_cv_as_leb128=yes