Changeset 5a90148
- Timestamp:
- Oct 16, 2007, 12:35:33 PM (17 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 531a4c1
- Parents:
- 78885f9
- Location:
- patches
- Files:
-
- 6 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.2.2-posix-1.patch
r78885f9 r5a90148 5 5 Rediffed against 4.1.0 by Chris Staub 6 6 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 9 8 Upstream Status: On Hold 10 9 Description: Makes GCC Posix Compliant 11 10 12 diff -Naur gcc-4.2. 1.orig/contrib/test_summary gcc-4.2.1/contrib/test_summary13 --- gcc-4.2. 1.orig/contrib/test_summary 2004-08-26 01:51:22.000000000 -040014 +++ gcc-4.2. 1/contrib/test_summary 2007-07-22 19:31:03.000000000 -040011 diff -Naur gcc-4.2.0.orig/contrib/test_summary gcc-4.2.0/contrib/test_summary 12 --- gcc-4.2.0.orig/contrib/test_summary 2007-05-16 19:21:35.000000000 -0400 13 +++ gcc-4.2.0/contrib/test_summary 2007-05-18 16:38:48.000000000 -0400 15 14 @@ -106,7 +106,7 @@ 16 15 srcdir = configflags; … … 22 21 23 22 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 23 diff -Naur gcc-4.2.0.orig/gcc/configure.ac gcc-4.2.0/gcc/configure.ac 24 --- gcc-4.2.0.orig/gcc/configure.ac 2007-05-16 19:21:23.000000000 -0400 25 +++ gcc-4.2.0/gcc/configure.ac 2007-05-18 16:39:21.000000000 -0400 26 @@ -2227,7 +2227,7 @@ 27 # Therefore, use diff -b for the comparisons. 28 if test x$gcc_cv_objdump != x \ 29 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 30 - | tail -3 > conftest.got \ 31 + | tail -n 3 > conftest.got \ 32 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 33 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 34 then 35 diff -Naur gcc-4.2.0.orig/gcc/configure gcc-4.2.0/gcc/configure 36 --- gcc-4.2.0.orig/gcc/configure 2007-05-16 19:21:26.000000000 -0400 37 +++ gcc-4.2.0/gcc/configure 2007-05-18 16:39:10.000000000 -0400 27 38 @@ -14120,7 +14120,7 @@ 28 39 # Therefore, use diff -b for the comparisons. … … 34 45 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 35 46 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 @@ 40 # Therefore, use diff -b for the comparisons. 41 if test x$gcc_cv_objdump != x \ 42 && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \ 43 - | tail -3 > conftest.got \ 44 + | tail -n 3 > conftest.got \ 45 && { diff -b conftest.lit conftest.got > /dev/null 2>&1 \ 46 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 47 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 47 diff -Naur gcc-4.2.0.orig/gcc/testsuite/ada/acats/run_all.sh gcc-4.2.0/gcc/testsuite/ada/acats/run_all.sh 48 --- gcc-4.2.0.orig/gcc/testsuite/ada/acats/run_all.sh 2007-05-16 19:21:20.000000000 -0400 49 +++ gcc-4.2.0/gcc/testsuite/ada/acats/run_all.sh 2007-05-18 16:44:02.000000000 -0400 51 50 @@ -68,7 +68,7 @@ 52 51 ls ${i}?.adb > ${i}.lst 2> /dev/null … … 58 57 59 58 EXTERNAL_OBJECTS="" 60 diff -Naur gcc-4.2. 1.orig/libgomp/acinclude.m4 gcc-4.2.1/libgomp/acinclude.m461 --- gcc-4.2. 1.orig/libgomp/acinclude.m4 2007-03-18 09:45:56.000000000 -040062 +++ gcc-4.2. 1/libgomp/acinclude.m4 2007-07-22 19:31:03.000000000 -040059 diff -Naur gcc-4.2.0.orig/libgomp/acinclude.m4 gcc-4.2.0/libgomp/acinclude.m4 60 --- gcc-4.2.0.orig/libgomp/acinclude.m4 2007-05-16 19:21:18.000000000 -0400 61 +++ gcc-4.2.0/libgomp/acinclude.m4 2007-05-18 16:42:11.000000000 -0400 63 62 @@ -147,7 +147,7 @@ 64 63 # Start by getting the version number. I think the libtool test already … … 70 69 changequote([,]) 71 70 libgomp_gnu_ld_version=`echo $ldver | \ 72 diff -Naur gcc-4.2. 1.orig/libgomp/configure gcc-4.2.1/libgomp/configure73 --- gcc-4.2. 1.orig/libgomp/configure 2007-07-19 10:33:56.000000000 -040074 +++ gcc-4.2. 1/libgomp/configure 2007-07-22 19:31:03.000000000 -040071 diff -Naur gcc-4.2.0.orig/libgomp/configure gcc-4.2.0/libgomp/configure 72 --- gcc-4.2.0.orig/libgomp/configure 2007-05-16 19:21:19.000000000 -0400 73 +++ gcc-4.2.0/libgomp/configure 2007-05-18 16:42:19.000000000 -0400 75 74 @@ -9314,7 +9314,7 @@ 76 75 # Start by getting the version number. I think the libtool test already … … 82 81 83 82 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 83 diff -Naur gcc-4.2.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 gcc-4.2.0/libjava/classpath/m4/ax_create_stdint_h.m4 84 --- gcc-4.2.0.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-16 19:21:35.000000000 -0400 85 +++ gcc-4.2.0/libjava/classpath/m4/ax_create_stdint_h.m4 2007-05-18 16:43:26.000000000 -0400 86 @@ -217,7 +217,7 @@ 87 fi # shortcircut to system "stdint.h" 88 # ------------------ PREPARE VARIABLES ------------------------------ 89 if test "$GCC" = "yes" ; then 90 -ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` 91 +ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 92 else 93 ac_cv_stdint_message="using $CC" 94 fi 95 diff -Naur gcc-4.2.0.orig/libjava/classpath/configure gcc-4.2.0/libjava/classpath/configure 96 --- gcc-4.2.0.orig/libjava/classpath/configure 2007-05-16 19:21:35.000000000 -0400 97 +++ gcc-4.2.0/libjava/classpath/configure 2007-05-18 16:43:09.000000000 -0400 87 98 @@ -18514,7 +18514,7 @@ 88 99 fi # shortcircut to system "stdint.h" … … 94 105 ac_cv_stdint_message="using $CC" 95 106 fi 96 diff -Naur gcc-4.2. 1.orig/libjava/classpath/ltcf-c.sh gcc-4.2.1/libjava/classpath/ltcf-c.sh97 --- gcc-4.2. 1.orig/libjava/classpath/ltcf-c.sh 2006-01-17 13:09:40.000000000 -050098 +++ gcc-4.2. 1/libjava/classpath/ltcf-c.sh 2007-07-22 19:31:03.000000000 -0400107 diff -Naur gcc-4.2.0.orig/libjava/classpath/ltcf-c.sh gcc-4.2.0/libjava/classpath/ltcf-c.sh 108 --- gcc-4.2.0.orig/libjava/classpath/ltcf-c.sh 2007-05-16 19:21:31.000000000 -0400 109 +++ gcc-4.2.0/libjava/classpath/ltcf-c.sh 2007-05-18 16:42:36.000000000 -0400 99 110 @@ -153,7 +153,7 @@ 100 111 # If the export-symbols file already is a .def file (1st line … … 106 117 else 107 118 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.sh109 --- gcc-4.2. 1.orig/libjava/classpath/ltcf-gcj.sh 2005-09-23 17:31:04.000000000 -0400110 +++ gcc-4.2. 1/libjava/classpath/ltcf-gcj.sh 2007-07-22 19:31:03.000000000 -0400119 diff -Naur gcc-4.2.0.orig/libjava/classpath/ltcf-gcj.sh gcc-4.2.0/libjava/classpath/ltcf-gcj.sh 120 --- gcc-4.2.0.orig/libjava/classpath/ltcf-gcj.sh 2007-05-16 19:21:34.000000000 -0400 121 +++ gcc-4.2.0/libjava/classpath/ltcf-gcj.sh 2007-05-18 16:42:45.000000000 -0400 111 122 @@ -156,7 +156,7 @@ 112 123 # If the export-symbols file already is a .def file (1st line … … 118 129 else 119 130 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 123 @@ -217,7 +217,7 @@ 124 fi # shortcircut to system "stdint.h" 125 # ------------------ PREPARE VARIABLES ------------------------------ 126 if test "$GCC" = "yes" ; then 127 -ac_cv_stdint_message="using gnu compiler "`$CC --version | head -1` 128 +ac_cv_stdint_message="using gnu compiler "`$CC --version | head -n 1` 129 else 130 ac_cv_stdint_message="using $CC" 131 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 131 diff -Naur gcc-4.2.0.orig/libjava/mingwld.m4 gcc-4.2.0/libjava/mingwld.m4 132 --- gcc-4.2.0.orig/libjava/mingwld.m4 2007-05-16 19:21:29.000000000 -0400 133 +++ gcc-4.2.0/libjava/mingwld.m4 2007-05-18 16:40:06.000000000 -0400 134 @@ -3,8 +3,8 @@ 135 AC_MSG_CHECKING(whether 'ld' is at least 2.13) 136 LD_PROG=`$CC --print-prog-name=ld` 137 LD_VERSION=`$LD_PROG --version` 138 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 139 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 140 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 141 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 142 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 143 LD_OK="ok" 144 else 145 diff -Naur gcc-4.2.0.orig/libjava/configure gcc-4.2.0/libjava/configure 146 --- gcc-4.2.0.orig/libjava/configure 2007-05-16 19:21:29.000000000 -0400 147 +++ gcc-4.2.0/libjava/configure 2007-05-18 16:39:43.000000000 -0400 135 148 @@ -7025,8 +7025,8 @@ 136 149 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 … … 144 157 LD_OK="ok" 145 158 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 149 @@ -3,8 +3,8 @@ 150 AC_MSG_CHECKING(whether 'ld' is at least 2.13) 151 LD_PROG=`$CC --print-prog-name=ld` 152 LD_VERSION=`$LD_PROG --version` 153 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 154 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 155 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 156 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 157 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 158 LD_OK="ok" 159 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 159 diff -Naur gcc-4.2.0.orig/libstdc++-v3/acinclude.m4 gcc-4.2.0/libstdc++-v3/acinclude.m4 160 --- gcc-4.2.0.orig/libstdc++-v3/acinclude.m4 2007-05-16 19:21:35.000000000 -0400 161 +++ gcc-4.2.0/libstdc++-v3/acinclude.m4 2007-05-18 16:40:37.000000000 -0400 163 162 @@ -234,7 +234,7 @@ 164 163 if test x"$with_gnu_ld" = x"yes"; then … … 170 169 changequote([,]) 171 170 glibcxx_gnu_ld_version=`echo $ldver | \ 172 diff -Naur gcc-4.2. 1.orig/libstdc++-v3/configure gcc-4.2.1/libstdc++-v3/configure173 --- gcc-4.2. 1.orig/libstdc++-v3/configure 2007-06-28 19:02:05.000000000 -0400174 +++ gcc-4.2. 1/libstdc++-v3/configure 2007-07-22 19:31:03.000000000 -0400175 @@ -8 541,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 @@ -54 451,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 @@ -75 811,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 @@ -77 334,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 @@ -78 825,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 @@ -100 715,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 @@ -101 560,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 @@ -102 961,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 @@ -104 754,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 @@ -105 997,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 @@ -10 7024,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.sh275 --- gcc-4.2. 1.orig/ltcf-c.sh 2005-11-18 17:53:08.000000000 -0500276 +++ gcc-4.2. 1/ltcf-c.sh 2007-07-22 19:31:03.000000000 -0400171 diff -Naur gcc-4.2.0.orig/libstdc++-v3/configure gcc-4.2.0/libstdc++-v3/configure 172 --- gcc-4.2.0.orig/libstdc++-v3/configure 2007-05-16 19:21:36.000000000 -0400 173 +++ gcc-4.2.0/libstdc++-v3/configure 2007-05-18 16:41:04.000000000 -0400 174 @@ -8377,7 +8377,7 @@ 175 echo "$as_me:$LINENO: checking for ld version" >&5 176 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 177 178 - ldver=`$LD --version 2>/dev/null | head -1 | \ 179 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 180 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 181 182 glibcxx_gnu_ld_version=`echo $ldver | \ 183 @@ -54289,7 +54289,7 @@ 184 echo "$as_me:$LINENO: checking for ld version" >&5 185 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 186 187 - ldver=`$LD --version 2>/dev/null | head -1 | \ 188 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 189 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 190 191 glibcxx_gnu_ld_version=`echo $ldver | \ 192 @@ -75651,7 +75651,7 @@ 193 echo "$as_me:$LINENO: checking for ld version" >&5 194 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 195 196 - ldver=`$LD --version 2>/dev/null | head -1 | \ 197 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 198 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 199 200 glibcxx_gnu_ld_version=`echo $ldver | \ 201 @@ -77176,7 +77176,7 @@ 202 echo "$as_me:$LINENO: checking for ld version" >&5 203 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 204 205 - ldver=`$LD --version 2>/dev/null | head -1 | \ 206 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 207 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 208 209 glibcxx_gnu_ld_version=`echo $ldver | \ 210 @@ -78669,7 +78669,7 @@ 211 echo "$as_me:$LINENO: checking for ld version" >&5 212 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 213 214 - ldver=`$LD --version 2>/dev/null | head -1 | \ 215 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 216 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 217 218 glibcxx_gnu_ld_version=`echo $ldver | \ 219 @@ -100561,7 +100561,7 @@ 220 echo "$as_me:$LINENO: checking for ld version" >&5 221 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 222 223 - ldver=`$LD --version 2>/dev/null | head -1 | \ 224 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 225 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 226 227 glibcxx_gnu_ld_version=`echo $ldver | \ 228 @@ -101408,7 +101408,7 @@ 229 echo "$as_me:$LINENO: checking for ld version" >&5 230 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 231 232 - ldver=`$LD --version 2>/dev/null | head -1 | \ 233 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 234 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 235 236 glibcxx_gnu_ld_version=`echo $ldver | \ 237 @@ -102811,7 +102811,7 @@ 238 echo "$as_me:$LINENO: checking for ld version" >&5 239 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 240 241 - ldver=`$LD --version 2>/dev/null | head -1 | \ 242 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 243 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 244 245 glibcxx_gnu_ld_version=`echo $ldver | \ 246 @@ -104606,7 +104606,7 @@ 247 echo "$as_me:$LINENO: checking for ld version" >&5 248 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 249 250 - ldver=`$LD --version 2>/dev/null | head -1 | \ 251 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 252 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 253 254 glibcxx_gnu_ld_version=`echo $ldver | \ 255 @@ -105851,7 +105851,7 @@ 256 echo "$as_me:$LINENO: checking for ld version" >&5 257 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 258 259 - ldver=`$LD --version 2>/dev/null | head -1 | \ 260 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 261 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 262 263 glibcxx_gnu_ld_version=`echo $ldver | \ 264 @@ -106880,7 +106880,7 @@ 265 echo "$as_me:$LINENO: checking for ld version" >&5 266 echo $ECHO_N "checking for ld version... $ECHO_C" >&6 267 268 - ldver=`$LD --version 2>/dev/null | head -1 | \ 269 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 270 sed -e 's/GNU ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\3/'` 271 272 glibcxx_gnu_ld_version=`echo $ldver | \ 273 diff -Naur gcc-4.2.0.orig/ltcf-c.sh gcc-4.2.0/ltcf-c.sh 274 --- gcc-4.2.0.orig/ltcf-c.sh 2007-05-16 19:21:19.000000000 -0400 275 +++ gcc-4.2.0/ltcf-c.sh 2007-05-18 16:41:18.000000000 -0400 277 276 @@ -153,7 +153,7 @@ 278 277 # If the export-symbols file already is a .def file (1st line … … 284 283 else 285 284 echo EXPORTS > $output_objdir/$soname-def; 286 diff -Naur gcc-4.2. 1.orig/ltcf-gcj.sh gcc-4.2.1/ltcf-gcj.sh287 --- gcc-4.2. 1.orig/ltcf-gcj.sh 2005-07-15 22:30:53.000000000 -0400288 +++ gcc-4.2. 1/ltcf-gcj.sh 2007-07-22 19:31:03.000000000 -0400285 diff -Naur gcc-4.2.0.orig/ltcf-gcj.sh gcc-4.2.0/ltcf-gcj.sh 286 --- gcc-4.2.0.orig/ltcf-gcj.sh 2007-05-16 19:21:35.000000000 -0400 287 +++ gcc-4.2.0/ltcf-gcj.sh 2007-05-18 16:41:29.000000000 -0400 289 288 @@ -156,7 +156,7 @@ 290 289 # If the export-symbols file already is a .def file (1st line
Note:
See TracChangeset
for help on using the changeset viewer.