Changeset e1234d4 in clfs-sysroot for patches/gcc-4.3.2-posix-1.patch
- Timestamp:
- Jan 3, 2009, 11:51:21 AM (16 years ago)
- Branches:
- master
- Children:
- 6397d5d
- Parents:
- 36f2b9a
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.3.2-posix-1.patch
r36f2b9a re1234d4 1 Submitted By: J im Gifford (patches at jg555 dot com)2 Date: 200 7-02-141 Submitted By: Joe Ciccone <jciccone@gmail.com> 2 Date: 2008-08-24 3 3 Initial Package Version: 4.1.2 4 4 Origin: Jim Gifford 5 5 Rediffed against 4.1.0 by Chris Staub 6 6 Rediffed against 4.1.2 by Jim Gifford 7 8 Rediffed against 4.2.1by Joe Ciccone7 Rediffed and additions against 4.2.0 by Joe Ciccone 8 Rediffed against 4.3.0 by Joe Ciccone 9 9 Upstream Status: On Hold 10 10 Description: Makes GCC Posix Compliant 11 11 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 @@ 12 diff -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 42 diff -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 @@ 16 46 srcdir = configflags; 17 47 sub(/\/configure .*/, "", srcdir); … … 22 52 23 53 sub(/^[^ ]*\/configure */, " ", configflags); 24 diff -Naur gcc-4. 2.1.orig/gcc/configure gcc-4.2.1/gcc/configure25 --- gcc-4. 2.1.orig/gcc/configure 2007-01-01 22:44:31.000000000 -050026 +++ gcc-4. 2.1/gcc/configure 2007-07-22 19:31:03.000000000 -040027 @@ -14 120,7 +14120,7 @@54 diff -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 @@ 28 58 # Therefore, use diff -b for the comparisons. 29 59 if test x$gcc_cv_objdump != x \ … … 34 64 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 35 65 then 36 diff -Naur gcc-4. 2.1.orig/gcc/configure.ac gcc-4.2.1/gcc/configure.ac37 --- gcc-4. 2.1.orig/gcc/configure.ac 2007-01-01 22:44:31.000000000 -050038 +++ gcc-4. 2.1/gcc/configure.ac 2007-07-22 19:31:03.000000000 -040039 @@ -222 7,7 +2227,7 @@66 diff -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 @@ 40 70 # Therefore, use diff -b for the comparisons. 41 71 if test x$gcc_cv_objdump != x \ … … 46 76 || diff -b conftest.big conftest.got > /dev/null 2>&1; } 47 77 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 78 diff -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`" 90 diff -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 51 93 @@ -68,7 +68,7 @@ 52 94 ls ${i}?.adb > ${i}.lst 2> /dev/null … … 58 100 59 101 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 -0400102 diff -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 63 105 @@ -147,7 +147,7 @@ 64 106 # Start by getting the version number. I think the libtool test already … … 70 112 changequote([,]) 71 113 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 -040075 @@ - 9314,7 +9314,7 @@114 diff -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 @@ 76 118 # Start by getting the version number. I think the libtool test already 77 119 # does some of this, but throws away the result. … … 82 124 83 125 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 @@ 126 diff -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 138 diff -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 @@ 88 142 fi # shortcircut to system "stdint.h" 89 143 # ------------------ PREPARE VARIABLES ------------------------------ … … 94 148 ac_cv_stdint_message="using $CC" 95 149 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 -0400150 diff -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 99 153 @@ -153,7 +153,7 @@ 100 154 # If the export-symbols file already is a .def file (1st line … … 106 160 else 107 161 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 -0400162 diff -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 111 165 @@ -156,7 +156,7 @@ 112 166 # If the export-symbols file already is a .def file (1st line … … 118 172 else 119 173 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.m4121 --- gcc-4. 2.1.orig/libjava/classpath/m4/ax_create_stdint_h.m4 2006-01-17 13:09:40.000000000 -0500122 +++ gcc-4. 2.1/libjava/classpath/m4/ax_create_stdint_h.m4 2007-07-22 19:31:03.000000000 -0400174 diff -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 123 177 @@ -217,7 +217,7 @@ 124 178 fi # shortcircut to system "stdint.h" … … 130 184 ac_cv_stdint_message="using $CC" 131 185 fi 132 diff -Naur gcc-4. 2.1.orig/libjava/configure gcc-4.2.1/libjava/configure133 --- gcc-4. 2.1.orig/libjava/configure 2007-07-19 10:33:56.000000000 -0400134 +++ gcc-4. 2.1/libjava/configure 2007-07-22 19:31:03.000000000 -0400135 @@ - 7025,8 +7025,8 @@186 diff -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 @@ 136 190 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 137 191 LD_PROG=`$CC --print-prog-name=ld` … … 144 198 LD_OK="ok" 145 199 else 146 diff -Naur gcc-4. 2.1.orig/libjava/mingwld.m4 gcc-4.2.1/libjava/mingwld.m4147 --- gcc-4. 2.1.orig/libjava/mingwld.m4 2005-08-22 18:36:35.000000000 -0400148 +++ gcc-4. 2.1/libjava/mingwld.m4 2007-07-22 19:31:03.000000000 -0400200 diff -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 149 203 @@ -3,8 +3,8 @@ 150 204 AC_MSG_CHECKING(whether 'ld' is at least 2.13) … … 158 212 LD_OK="ok" 159 213 else 160 diff -Naur gcc-4. 2.1.orig/libstdc++-v3/acinclude.m4 gcc-4.2.1/libstdc++-v3/acinclude.m4161 --- gcc-4. 2.1.orig/libstdc++-v3/acinclude.m4 2007-06-28 19:02:05.000000000 -0400162 +++ gcc-4. 2.1/libstdc++-v3/acinclude.m4 2007-07-22 19:31:03.000000000 -0400214 diff -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 163 217 @@ -234,7 +234,7 @@ 164 218 if test x"$with_gnu_ld" = x"yes"; then … … 170 224 changequote([,]) 171 225 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; 226 diff -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.