Changeset e1234d4 in clfs-sysroot


Ignore:
Timestamp:
Jan 3, 2009, 11:51:21 AM (16 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
6397d5d
Parents:
36f2b9a
Message:

First round of patches changes.

Location:
patches
Files:
1 added
1 deleted
1 moved

Legend:

Unmodified
Added
Removed
  • patches/gcc-4.3.2-posix-1.patch

    r36f2b9a re1234d4  
    1 Submitted By: Jim Gifford (patches at jg555 dot com)
    2 Date: 2007-02-14
     1Submitted By: Joe Ciccone <jciccone@gmail.com>
     2Date: 2008-08-24
    33Initial Package Version: 4.1.2
    44Origin: Jim Gifford
    55        Rediffed against 4.1.0 by Chris Staub
    66        Rediffed against 4.1.2 by Jim Gifford
    7         Rediffed and additions against 4.2.0 by Joe Ciccone
    8         Rediffed against 4.2.1 by Joe Ciccone
     7        Rediffed and additions against 4.2.0 by Joe Ciccone
     8        Rediffed against 4.3.0 by Joe Ciccone
    99Upstream Status: On Hold
    1010Description: Makes GCC Posix Compliant
    1111
    12 diff -Naur gcc-4.2.1.orig/contrib/test_summary gcc-4.2.1/contrib/test_summary
    13 --- gcc-4.2.1.orig/contrib/test_summary 2004-08-26 01:51:22.000000000 -0400
    14 +++ gcc-4.2.1/contrib/test_summary      2007-07-22 19:31:03.000000000 -0400
    15 @@ -106,7 +106,7 @@
     12diff -Naur gcc-4.3.1.orig/contrib/patch_tester.sh gcc-4.3.1/contrib/patch_tester.sh
     13--- gcc-4.3.1.orig/contrib/patch_tester.sh      2007-12-26 16:01:38.000000000 -0500
     14+++ gcc-4.3.1/contrib/patch_tester.sh   2008-08-24 13:37:11.000000000 -0400
     15@@ -287,7 +287,7 @@
     16 
     17     if ! make $dashj `grep "^make:" $PATCH | sed -e "s/^make://g"` bootstrap &> $1/bootstrap ; then
     18        report "bootstrap failed with last lines:"
     19-       tail -30 $1/bootstrap > $1/last_bootstrap
     20+       tail -n 30 $1/bootstrap > $1/last_bootstrap
     21        freport $1/last_bootstrap
     22        report "grep --context=20 Error bootstrap:"
     23        grep --context=20 Error $1/bootstrap > $1/bootstrap_error
     24@@ -420,7 +420,7 @@
     25 # After selfexec, $TESTING is already set up. 
     26 if [ -d $TESTING ]; then
     27     # The only file in $TESTING is the patch.
     28-    PATCH=`ls -rt -1 $TESTING | head -1`
     29+    PATCH=`ls -rt -1 $TESTING | head -n 1`
     30     PATCH=$TESTING/$PATCH
     31     if [ -f $PATCH ]; then
     32        bootntest_patched && bootntest_pristine && compare_passes
     33@@ -429,7 +429,7 @@
     34 fi
     35 
     36 while true; do
     37-    PATCH=`ls -rt -1 $PATCHES | head -1`
     38+    PATCH=`ls -rt -1 $PATCHES | head -n 1`
     39     if [ x$PATCH = x ]; then
     40        sleep ${standby}m
     41     else
     42diff -Naur gcc-4.3.1.orig/contrib/test_summary gcc-4.3.1/contrib/test_summary
     43--- gcc-4.3.1.orig/contrib/test_summary 2007-02-09 19:30:46.000000000 -0500
     44+++ gcc-4.3.1/contrib/test_summary      2008-08-24 13:37:11.000000000 -0400
     45@@ -107,7 +107,7 @@
    1646     srcdir = configflags;
    1747     sub(/\/configure .*/, "", srcdir);
     
    2252 
    2353     sub(/^[^ ]*\/configure */, " ", configflags);
    24 diff -Naur gcc-4.2.1.orig/gcc/configure gcc-4.2.1/gcc/configure
    25 --- gcc-4.2.1.orig/gcc/configure        2007-01-01 22:44:31.000000000 -0500
    26 +++ gcc-4.2.1/gcc/configure     2007-07-22 19:31:03.000000000 -0400
    27 @@ -14120,7 +14120,7 @@
     54diff -Naur gcc-4.3.1.orig/gcc/configure gcc-4.3.1/gcc/configure
     55--- gcc-4.3.1.orig/gcc/configure        2008-05-21 04:54:15.000000000 -0400
     56+++ gcc-4.3.1/gcc/configure     2008-08-24 13:37:38.000000000 -0400
     57@@ -14265,7 +14265,7 @@
    2858   # Therefore, use diff -b for the comparisons.
    2959   if test x$gcc_cv_objdump != x \
     
    3464     || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    3565   then
    36 diff -Naur gcc-4.2.1.orig/gcc/configure.ac gcc-4.2.1/gcc/configure.ac
    37 --- gcc-4.2.1.orig/gcc/configure.ac     2007-01-01 22:44:31.000000000 -0500
    38 +++ gcc-4.2.1/gcc/configure.ac  2007-07-22 19:31:03.000000000 -0400
    39 @@ -2227,7 +2227,7 @@
     66diff -Naur gcc-4.3.1.orig/gcc/configure.ac gcc-4.3.1/gcc/configure.ac
     67--- gcc-4.3.1.orig/gcc/configure.ac     2008-05-21 04:54:15.000000000 -0400
     68+++ gcc-4.3.1/gcc/configure.ac  2008-08-24 13:37:25.000000000 -0400
     69@@ -2226,7 +2226,7 @@
    4070   # Therefore, use diff -b for the comparisons.
    4171   if test x$gcc_cv_objdump != x \
     
    4676     || diff -b conftest.big conftest.got > /dev/null 2>&1; }
    4777   then
    48 diff -Naur gcc-4.2.1.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh
    49 --- gcc-4.2.1.orig/gcc/testsuite/ada/acats/run_all.sh   2006-09-14 06:12:03.000000000 -0400
    50 +++ gcc-4.2.1/gcc/testsuite/ada/acats/run_all.sh        2007-07-22 19:31:03.000000000 -0400
     78diff -Naur gcc-4.3.1.orig/gcc/gccbug.in gcc-4.3.1/gcc/gccbug.in
     79--- gcc-4.3.1.orig/gcc/gccbug.in        2007-07-26 04:37:01.000000000 -0400
     80+++ gcc-4.3.1/gcc/gccbug.in     2008-08-24 13:37:38.000000000 -0400
     81@@ -31,7 +31,7 @@
     82 
     83 # The default release for this host.
     84 # We have to guess at what program_transform_name might have done.
     85-# "sed 1q" because neither "head -1" nor "head -n 1" is universal, argh.
     86+# "sed 1q" because neither "head -n 1" nor "head -n n 1" is universal, argh.
     87 
     88 DEFAULT_GCC="`echo $0 | sed -e 's/bug//'`"
     89 DEFAULT_RELEASE="`$DEFAULT_GCC --version | sed 1q`"
     90diff -Naur gcc-4.3.1.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.3.1/gcc/testsuite/ada/acats/run_all.sh
     91--- gcc-4.3.1.orig/gcc/testsuite/ada/acats/run_all.sh   2006-09-14 06:12:03.000000000 -0400
     92+++ gcc-4.3.1/gcc/testsuite/ada/acats/run_all.sh        2008-08-24 13:37:18.000000000 -0400
    5193@@ -68,7 +68,7 @@
    5294   ls ${i}?.adb > ${i}.lst 2> /dev/null
     
    58100 
    59101 EXTERNAL_OBJECTS=""
    60 diff -Naur gcc-4.2.1.orig/libgomp/acinclude.m4 gcc-4.2.1/libgomp/acinclude.m4
    61 --- gcc-4.2.1.orig/libgomp/acinclude.m4 2007-03-18 09:45:56.000000000 -0400
    62 +++ gcc-4.2.1/libgomp/acinclude.m4      2007-07-22 19:31:03.000000000 -0400
     102diff -Naur gcc-4.3.1.orig/libgomp/acinclude.m4 gcc-4.3.1/libgomp/acinclude.m4
     103--- gcc-4.3.1.orig/libgomp/acinclude.m4 2007-03-18 07:17:44.000000000 -0400
     104+++ gcc-4.3.1/libgomp/acinclude.m4      2008-08-24 13:37:09.000000000 -0400
    63105@@ -147,7 +147,7 @@
    64106   # Start by getting the version number.  I think the libtool test already
     
    70112   changequote([,])
    71113   libgomp_gnu_ld_version=`echo $ldver | \
    72 diff -Naur gcc-4.2.1.orig/libgomp/configure gcc-4.2.1/libgomp/configure
    73 --- gcc-4.2.1.orig/libgomp/configure    2007-07-19 10:33:56.000000000 -0400
    74 +++ gcc-4.2.1/libgomp/configure 2007-07-22 19:31:03.000000000 -0400
    75 @@ -9314,7 +9314,7 @@
     114diff -Naur gcc-4.3.1.orig/libgomp/configure gcc-4.3.1/libgomp/configure
     115--- gcc-4.3.1.orig/libgomp/configure    2008-01-24 11:23:13.000000000 -0500
     116+++ gcc-4.3.1/libgomp/configure 2008-08-24 13:37:09.000000000 -0400
     117@@ -17600,7 +17600,7 @@
    76118   # Start by getting the version number.  I think the libtool test already
    77119   # does some of this, but throws away the result.
     
    82124 
    83125   libgomp_gnu_ld_version=`echo $ldver | \
    84 diff -Naur gcc-4.2.1.orig/libjava/classpath/configure gcc-4.2.1/libjava/classpath/configure
    85 --- gcc-4.2.1.orig/libjava/classpath/configure  2007-01-17 13:10:26.000000000 -0500
    86 +++ gcc-4.2.1/libjava/classpath/configure       2007-07-22 19:31:03.000000000 -0400
    87 @@ -18514,7 +18514,7 @@
     126diff -Naur gcc-4.3.1.orig/libjava/classpath/ChangeLog-2004 gcc-4.3.1/libjava/classpath/ChangeLog-2004
     127--- gcc-4.3.1.orig/libjava/classpath/ChangeLog-2004     2007-01-09 14:58:05.000000000 -0500
     128+++ gcc-4.3.1/libjava/classpath/ChangeLog-2004  2008-08-24 13:37:00.000000000 -0400
     129@@ -8256,7 +8256,7 @@
     130 
     131 2004-08-17  Casey Marshall <csm@gnu.org>
     132 
     133-       * autogen.sh: use `head -n 1' instead of `head -1'.
     134+       * autogen.sh: use `head -n n 1' instead of `head -n 1'.
     135 
     136 2004-08-16  Andrew John Hughes  <gnu_andrew@member.fsf.org>
     137 
     138diff -Naur gcc-4.3.1.orig/libjava/classpath/configure gcc-4.3.1/libjava/classpath/configure
     139--- gcc-4.3.1.orig/libjava/classpath/configure  2008-02-29 18:47:54.000000000 -0500
     140+++ gcc-4.3.1/libjava/classpath/configure       2008-08-24 13:37:00.000000000 -0400
     141@@ -29126,7 +29126,7 @@
    88142 fi # shortcircut to system "stdint.h"
    89143 # ------------------ PREPARE VARIABLES ------------------------------
     
    94148 ac_cv_stdint_message="using $CC"
    95149 fi
    96 diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh gcc-4.2.1/libjava/classpath/ltcf-c.sh
    97 --- gcc-4.2.1.orig/libjava/classpath/ltcf-c.sh  2006-01-17 13:09:40.000000000 -0500
    98 +++ gcc-4.2.1/libjava/classpath/ltcf-c.sh       2007-07-22 19:31:03.000000000 -0400
     150diff -Naur gcc-4.3.1.orig/libjava/classpath/ltcf-c.sh gcc-4.3.1/libjava/classpath/ltcf-c.sh
     151--- gcc-4.3.1.orig/libjava/classpath/ltcf-c.sh  2006-01-17 13:09:40.000000000 -0500
     152+++ gcc-4.3.1/libjava/classpath/ltcf-c.sh       2008-08-24 13:36:57.000000000 -0400
    99153@@ -153,7 +153,7 @@
    100154     # If the export-symbols file already is a .def file (1st line
     
    106160       else
    107161         echo EXPORTS > $output_objdir/$soname-def;
    108 diff -Naur gcc-4.2.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.1/libjava/classpath/ltcf-gcj.sh
    109 --- gcc-4.2.1.orig/libjava/classpath/ltcf-gcj.sh        2005-09-23 17:31:04.000000000 -0400
    110 +++ gcc-4.2.1/libjava/classpath/ltcf-gcj.sh     2007-07-22 19:31:03.000000000 -0400
     162diff -Naur gcc-4.3.1.orig/libjava/classpath/ltcf-gcj.sh gcc-4.3.1/libjava/classpath/ltcf-gcj.sh
     163--- gcc-4.3.1.orig/libjava/classpath/ltcf-gcj.sh        2005-09-23 17:31:04.000000000 -0400
     164+++ gcc-4.3.1/libjava/classpath/ltcf-gcj.sh     2008-08-24 13:36:55.000000000 -0400
    111165@@ -156,7 +156,7 @@
    112166     # If the export-symbols file already is a .def file (1st line
     
    118172       else
    119173         echo EXPORTS > $output_objdir/$soname-def;
    120 diff -Naur gcc-4.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4
    121 --- gcc-4.2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2006-01-17 13:09:40.000000000 -0500
    122 +++ gcc-4.2.1/libjava/classpath/m4/ax_create_stdint_h.m4        2007-07-22 19:31:03.000000000 -0400
     174diff -Naur gcc-4.3.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.3.1/libjava/classpath/m4/ax_create_stdint_h.m4
     175--- gcc-4.3.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4   2007-05-19 16:44:43.000000000 -0400
     176+++ gcc-4.3.1/libjava/classpath/m4/ax_create_stdint_h.m4        2008-08-24 13:36:57.000000000 -0400
    123177@@ -217,7 +217,7 @@
    124178 fi # shortcircut to system "stdint.h"
     
    130184 ac_cv_stdint_message="using $CC"
    131185 fi
    132 diff -Naur gcc-4.2.1.orig/libjava/configure gcc-4.2.1/libjava/configure
    133 --- gcc-4.2.1.orig/libjava/configure    2007-07-19 10:33:56.000000000 -0400
    134 +++ gcc-4.2.1/libjava/configure 2007-07-22 19:31:03.000000000 -0400
    135 @@ -7025,8 +7025,8 @@
     186diff -Naur gcc-4.3.1.orig/libjava/configure gcc-4.3.1/libjava/configure
     187--- gcc-4.3.1.orig/libjava/configure    2008-06-06 10:49:11.000000000 -0400
     188+++ gcc-4.3.1/libjava/configure 2008-08-24 13:37:03.000000000 -0400
     189@@ -18673,8 +18673,8 @@
    136190 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
    137191 LD_PROG=`$CC --print-prog-name=ld`
     
    144198   LD_OK="ok"
    145199 else
    146 diff -Naur gcc-4.2.1.orig/libjava/mingwld.m4 gcc-4.2.1/libjava/mingwld.m4
    147 --- gcc-4.2.1.orig/libjava/mingwld.m4   2005-08-22 18:36:35.000000000 -0400
    148 +++ gcc-4.2.1/libjava/mingwld.m4        2007-07-22 19:31:03.000000000 -0400
     200diff -Naur gcc-4.3.1.orig/libjava/mingwld.m4 gcc-4.3.1/libjava/mingwld.m4
     201--- gcc-4.3.1.orig/libjava/mingwld.m4   2005-08-22 18:36:35.000000000 -0400
     202+++ gcc-4.3.1/libjava/mingwld.m4        2008-08-24 13:36:52.000000000 -0400
    149203@@ -3,8 +3,8 @@
    150204 AC_MSG_CHECKING(whether 'ld' is at least 2.13)
     
    158212   LD_OK="ok"
    159213 else
    160 diff -Naur gcc-4.2.1.orig/libstdc++-v3/acinclude.m4 gcc-4.2.1/libstdc++-v3/acinclude.m4
    161 --- gcc-4.2.1.orig/libstdc++-v3/acinclude.m4    2007-06-28 19:02:05.000000000 -0400
    162 +++ gcc-4.2.1/libstdc++-v3/acinclude.m4 2007-07-22 19:31:03.000000000 -0400
     214diff -Naur gcc-4.3.1.orig/libstdc++-v3/acinclude.m4 gcc-4.3.1/libstdc++-v3/acinclude.m4
     215--- gcc-4.3.1.orig/libstdc++-v3/acinclude.m4    2008-04-25 12:52:57.000000000 -0400
     216+++ gcc-4.3.1/libstdc++-v3/acinclude.m4 2008-08-24 13:37:07.000000000 -0400
    163217@@ -234,7 +234,7 @@
    164218   if test x"$with_gnu_ld" = x"yes"; then
     
    170224     changequote([,])
    171225     glibcxx_gnu_ld_version=`echo $ldver | \
    172 diff -Naur gcc-4.2.1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure
    173 --- gcc-4.2.1.orig/libstdc++-v3/configure       2007-06-28 19:02:05.000000000 -0400
    174 +++ gcc-4.2.1/libstdc++-v3/configure    2007-07-22 19:31:03.000000000 -0400
    175 @@ -8541,7 +8541,7 @@
    176      echo "$as_me:$LINENO: checking for ld version" >&5
    177  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    178  
    179 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    180 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    181             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    182  
    183      glibcxx_gnu_ld_version=`echo $ldver | \
    184 @@ -54451,7 +54451,7 @@
    185      echo "$as_me:$LINENO: checking for ld version" >&5
    186  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    187  
    188 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    189 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    190             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    191  
    192      glibcxx_gnu_ld_version=`echo $ldver | \
    193 @@ -75811,7 +75811,7 @@
    194      echo "$as_me:$LINENO: checking for ld version" >&5
    195  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    196  
    197 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    198 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    199             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    200  
    201      glibcxx_gnu_ld_version=`echo $ldver | \
    202 @@ -77334,7 +77334,7 @@
    203      echo "$as_me:$LINENO: checking for ld version" >&5
    204  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    205  
    206 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    207 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    208             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    209  
    210      glibcxx_gnu_ld_version=`echo $ldver | \
    211 @@ -78825,7 +78825,7 @@
    212      echo "$as_me:$LINENO: checking for ld version" >&5
    213  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    214  
    215 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    216 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    217             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    218  
    219      glibcxx_gnu_ld_version=`echo $ldver | \
    220 @@ -100715,7 +100715,7 @@
    221      echo "$as_me:$LINENO: checking for ld version" >&5
    222  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    223  
    224 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    225 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    226             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    227  
    228      glibcxx_gnu_ld_version=`echo $ldver | \
    229 @@ -101560,7 +101560,7 @@
    230      echo "$as_me:$LINENO: checking for ld version" >&5
    231  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    232  
    233 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    234 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    235             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    236  
    237      glibcxx_gnu_ld_version=`echo $ldver | \
    238 @@ -102961,7 +102961,7 @@
    239      echo "$as_me:$LINENO: checking for ld version" >&5
    240  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    241  
    242 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    243 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    244             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    245  
    246      glibcxx_gnu_ld_version=`echo $ldver | \
    247 @@ -104754,7 +104754,7 @@
    248      echo "$as_me:$LINENO: checking for ld version" >&5
    249  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    250  
    251 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    252 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    253             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    254  
    255      glibcxx_gnu_ld_version=`echo $ldver | \
    256 @@ -105997,7 +105997,7 @@
    257      echo "$as_me:$LINENO: checking for ld version" >&5
    258  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    259  
    260 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    261 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    262             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    263  
    264      glibcxx_gnu_ld_version=`echo $ldver | \
    265 @@ -107024,7 +107024,7 @@
    266      echo "$as_me:$LINENO: checking for ld version" >&5
    267  echo $ECHO_N "checking for ld version... $ECHO_C" >&6
    268  
    269 -    ldver=`$LD --version 2>/dev/null | head -1 | \
    270 +    ldver=`$LD --version 2>/dev/null | head -n 1 | \
    271             sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
    272  
    273      glibcxx_gnu_ld_version=`echo $ldver | \
    274 diff -Naur gcc-4.2.1.orig/ltcf-c.sh gcc-4.2.1/ltcf-c.sh
    275 --- gcc-4.2.1.orig/ltcf-c.sh    2005-11-18 17:53:08.000000000 -0500
    276 +++ gcc-4.2.1/ltcf-c.sh 2007-07-22 19:31:03.000000000 -0400
    277 @@ -153,7 +153,7 @@
    278      # If the export-symbols file already is a .def file (1st line
    279      # is EXPORTS), use it as is.
    280      # If DATA tags from a recent dlltool are present, honour them!
    281 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    282 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    283          cp $export_symbols $output_objdir/$soname-def;
    284        else
    285          echo EXPORTS > $output_objdir/$soname-def;
    286 diff -Naur gcc-4.2.1.orig/ltcf-gcj.sh gcc-4.2.1/ltcf-gcj.sh
    287 --- gcc-4.2.1.orig/ltcf-gcj.sh  2005-07-15 22:30:53.000000000 -0400
    288 +++ gcc-4.2.1/ltcf-gcj.sh       2007-07-22 19:31:03.000000000 -0400
    289 @@ -156,7 +156,7 @@
    290      # If the export-symbols file already is a .def file (1st line
    291      # is EXPORTS), use it as is.
    292      # If DATA tags from a recent dlltool are present, honour them!
    293 -    archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
    294 +    archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
    295          cp $export_symbols $output_objdir/$soname-def;
    296        else
    297          echo EXPORTS > $output_objdir/$soname-def;
     226diff -Naur gcc-4.3.1.orig/libstdc++-v3/configure gcc-4.3.1/libstdc++-v3/configure
     227--- gcc-4.3.1.orig/libstdc++-v3/configure       2008-04-25 12:52:57.000000000 -0400
     228+++ gcc-4.3.1/libstdc++-v3/configure    2008-08-24 13:37:09.000000000 -0400
     229@@ -17488,7 +17488,7 @@
     230     echo "$as_me:$LINENO: checking for ld version" >&5
     231 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     232 
     233-    ldver=`$LD --version 2>/dev/null | head -1 | \
     234+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     235            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     236 
     237     glibcxx_gnu_ld_version=`echo $ldver | \
     238@@ -42213,7 +42213,7 @@
     239     echo "$as_me:$LINENO: checking for ld version" >&5
     240 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     241 
     242-    ldver=`$LD --version 2>/dev/null | head -1 | \
     243+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     244            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     245 
     246     glibcxx_gnu_ld_version=`echo $ldver | \
     247@@ -84604,7 +84604,7 @@
     248     echo "$as_me:$LINENO: checking for ld version" >&5
     249 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     250 
     251-    ldver=`$LD --version 2>/dev/null | head -1 | \
     252+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     253            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     254 
     255     glibcxx_gnu_ld_version=`echo $ldver | \
     256@@ -85620,7 +85620,7 @@
     257     echo "$as_me:$LINENO: checking for ld version" >&5
     258 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     259 
     260-    ldver=`$LD --version 2>/dev/null | head -1 | \
     261+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     262            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     263 
     264     glibcxx_gnu_ld_version=`echo $ldver | \
     265@@ -86608,7 +86608,7 @@
     266     echo "$as_me:$LINENO: checking for ld version" >&5
     267 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     268 
     269-    ldver=`$LD --version 2>/dev/null | head -1 | \
     270+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     271            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     272 
     273     glibcxx_gnu_ld_version=`echo $ldver | \
     274@@ -109087,7 +109087,7 @@
     275     echo "$as_me:$LINENO: checking for ld version" >&5
     276 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     277 
     278-    ldver=`$LD --version 2>/dev/null | head -1 | \
     279+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     280            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     281 
     282     glibcxx_gnu_ld_version=`echo $ldver | \
     283@@ -109932,7 +109932,7 @@
     284     echo "$as_me:$LINENO: checking for ld version" >&5
     285 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     286 
     287-    ldver=`$LD --version 2>/dev/null | head -1 | \
     288+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     289            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     290 
     291     glibcxx_gnu_ld_version=`echo $ldver | \
     292@@ -110826,7 +110826,7 @@
     293     echo "$as_me:$LINENO: checking for ld version" >&5
     294 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     295 
     296-    ldver=`$LD --version 2>/dev/null | head -1 | \
     297+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     298            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     299 
     300     glibcxx_gnu_ld_version=`echo $ldver | \
     301@@ -112112,7 +112112,7 @@
     302     echo "$as_me:$LINENO: checking for ld version" >&5
     303 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     304 
     305-    ldver=`$LD --version 2>/dev/null | head -1 | \
     306+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     307            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     308 
     309     glibcxx_gnu_ld_version=`echo $ldver | \
     310@@ -112848,7 +112848,7 @@
     311     echo "$as_me:$LINENO: checking for ld version" >&5
     312 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     313 
     314-    ldver=`$LD --version 2>/dev/null | head -1 | \
     315+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     316            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     317 
     318     glibcxx_gnu_ld_version=`echo $ldver | \
     319@@ -113349,7 +113349,7 @@
     320     echo "$as_me:$LINENO: checking for ld version" >&5
     321 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
     322 
     323-    ldver=`$LD --version 2>/dev/null | head -1 | \
     324+    ldver=`$LD --version 2>/dev/null | head -n 1 | \
     325            sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'`
     326 
     327     glibcxx_gnu_ld_version=`echo $ldver | \
Note: See TracChangeset for help on using the changeset viewer.