Changeset e7a7a6f for patches/gcc-4.1.0-posix-1.patch
- Timestamp:
- Apr 14, 2006, 5:35:01 AM (19 years ago)
- Branches:
- clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- fb773d9
- Parents:
- 3ad2ac7
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
patches/gcc-4.1.0-posix-1.patch
r3ad2ac7 re7a7a6f 3 3 Initial Package Version: 4.0.1 4 4 Origin: Jim Gifford 5 Rediffed against 4.1.0 by Chris Staub 5 6 Upstream Status: On Hold 6 7 Description: Makes GCC Posix Compliant 7 8 8 diff -Naur gcc-4. 0.1.orig/contrib/test_summary gcc-4.0.1/contrib/test_summary9 --- gcc-4. 0.1.orig/contrib/test_summary 2004-08-26 05:51:22.000000000 +000010 +++ gcc-4. 0.1/contrib/test_summary 2005-08-27 21:06:51.000000000 +00009 diff -Naur gcc-4.1.0.orig/contrib/test_summary gcc-4.1.0/contrib/test_summary 10 --- gcc-4.1.0.orig/contrib/test_summary 2004-08-26 01:51:22.000000000 -0400 11 +++ gcc-4.1.0/contrib/test_summary 2006-02-28 22:08:16.000000000 -0500 11 12 @@ -106,7 +106,7 @@ 12 13 srcdir = configflags; … … 18 19 19 20 sub(/^[^ ]*\/configure */, " ", configflags); 20 diff -Naur gcc-4. 0.1.orig/gcc/configure gcc-4.0.1/gcc/configure21 --- gcc-4. 0.1.orig/gcc/configure 2005-07-07 20:44:40.000000000 +000022 +++ gcc-4. 0.1/gcc/configure 2005-08-27 21:06:51.000000000 +000023 @@ -1 3511,7 +13511,7 @@21 diff -Naur gcc-4.1.0.orig/gcc/configure gcc-4.1.0/gcc/configure 22 --- gcc-4.1.0.orig/gcc/configure 2006-02-14 11:50:45.000000000 -0500 23 +++ gcc-4.1.0/gcc/configure 2006-02-28 22:08:16.000000000 -0500 24 @@ -14318,7 +14318,7 @@ 24 25 # and we got the correct data, then succeed. 25 26 if test x$gcc_cv_objdump != x \ … … 30 31 || cmp conftest.big conftest.got > /dev/null 2>&1; } 31 32 then 32 diff -Naur gcc-4. 0.1.orig/gcc/configure.ac gcc-4.0.1/gcc/configure.ac33 --- gcc-4. 0.1.orig/gcc/configure.ac 2005-06-01 08:14:33.000000000 +000034 +++ gcc-4. 0.1/gcc/configure.ac 2005-08-27 21:06:51.000000000 +000035 @@ -2 214,7 +2214,7 @@33 diff -Naur gcc-4.1.0.orig/gcc/configure.ac gcc-4.1.0/gcc/configure.ac 34 --- gcc-4.1.0.orig/gcc/configure.ac 2006-02-14 11:50:45.000000000 -0500 35 +++ gcc-4.1.0/gcc/configure.ac 2006-02-28 22:08:16.000000000 -0500 36 @@ -2124,7 +2124,7 @@ 36 37 # and we got the correct data, then succeed. 37 38 if test x$gcc_cv_objdump != x \ … … 42 43 || cmp conftest.big conftest.got > /dev/null 2>&1; } 43 44 then 44 diff -Naur gcc-4.0.1.orig/libjava/acinclude.m4 gcc-4.0.1/libjava/acinclude.m4 45 --- gcc-4.0.1.orig/libjava/acinclude.m4 2004-09-23 01:14:00.000000000 +0000 46 +++ gcc-4.0.1/libjava/acinclude.m4 2005-08-27 21:06:51.000000000 +0000 47 @@ -17,8 +17,8 @@ 45 diff -Naur gcc-4.1.0.orig/libjava/configure gcc-4.1.0/libjava/configure 46 --- gcc-4.1.0.orig/libjava/configure 2006-02-28 03:39:11.000000000 -0500 47 +++ gcc-4.1.0/libjava/configure 2006-02-28 22:08:16.000000000 -0500 48 @@ -6736,8 +6736,8 @@ 49 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 50 LD_PROG=`$CC --print-prog-name=ld` 51 LD_VERSION=`$LD_PROG --version` 52 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 53 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 54 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 55 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 56 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 57 LD_OK="ok" 58 else 59 diff -Naur gcc-4.1.0.orig/libjava/mingwld.m4 gcc-4.1.0/libjava/mingwld.m4 60 --- gcc-4.1.0.orig/libjava/mingwld.m4 2005-08-22 18:36:35.000000000 -0400 61 +++ gcc-4.1.0/libjava/mingwld.m4 2006-02-28 22:08:16.000000000 -0500 62 @@ -3,8 +3,8 @@ 48 63 AC_MSG_CHECKING(whether 'ld' is at least 2.13) 49 64 LD_PROG=`$CC --print-prog-name=ld` … … 56 71 LD_OK="ok" 57 72 else 58 diff -Naur gcc-4.0.1.orig/libjava/configure gcc-4.0.1/libjava/configure 59 --- gcc-4.0.1.orig/libjava/configure 2005-07-07 20:44:40.000000000 +0000 60 +++ gcc-4.0.1/libjava/configure 2005-08-27 21:06:51.000000000 +0000 61 @@ -5933,8 +5933,8 @@ 62 echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6 63 LD_PROG=`$CC --print-prog-name=ld` 64 LD_VERSION=`$LD_PROG --version` 65 -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 66 -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2` 67 +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4` 68 +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2` 69 if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then 70 LD_OK="ok" 71 else 72 diff -Naur gcc-4.0.1.orig/libstdc++-v3/acinclude.m4 gcc-4.0.1/libstdc++-v3/acinclude.m4 73 --- gcc-4.0.1.orig/libstdc++-v3/acinclude.m4 2005-06-23 09:23:59.000000000 +0000 74 +++ gcc-4.0.1/libstdc++-v3/acinclude.m4 2005-08-27 21:06:51.000000000 +0000 75 @@ -241,7 +241,7 @@ 73 diff -Naur gcc-4.1.0.orig/libstdc++-v3/acinclude.m4 gcc-4.1.0/libstdc++-v3/acinclude.m4 74 --- gcc-4.1.0.orig/libstdc++-v3/acinclude.m4 2006-01-19 17:55:55.000000000 -0500 75 +++ gcc-4.1.0/libstdc++-v3/acinclude.m4 2006-02-28 22:08:16.000000000 -0500 76 @@ -223,7 +223,7 @@ 76 77 # Start by getting the version number. I think the libtool test already 77 78 # does some of this, but throws away the result. … … 82 83 changequote([,]) 83 84 glibcxx_gnu_ld_version=`echo $ldver | \ 84 diff -Naur gcc-4.0.1.orig/libstdc++-v3/configure gcc-4.0.1/libstdc++-v3/configure 85 --- gcc-4.0.1.orig/libstdc++-v3/configure 2005-06-23 09:24:00.000000000 +0000 86 +++ gcc-4.0.1/libstdc++-v3/configure 2005-08-27 21:06:52.000000000 +0000 87 @@ -9880,7 +9880,7 @@ 88 # Start by getting the version number. I think the libtool test already 89 # does some of this, but throws away the result. 90 91 - ldver=`$LD --version 2>/dev/null | head -1 | \ 92 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 93 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 94 95 glibcxx_gnu_ld_version=`echo $ldver | \ 96 @@ -55252,7 +55252,7 @@ 97 # Start by getting the version number. I think the libtool test already 98 # does some of this, but throws away the result. 99 100 - ldver=`$LD --version 2>/dev/null | head -1 | \ 101 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 102 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 103 104 glibcxx_gnu_ld_version=`echo $ldver | \ 105 @@ -76923,7 +76923,7 @@ 106 # Start by getting the version number. I think the libtool test already 107 # does some of this, but throws away the result. 108 109 - ldver=`$LD --version 2>/dev/null | head -1 | \ 110 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 111 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 112 113 glibcxx_gnu_ld_version=`echo $ldver | \ 114 @@ -79292,7 +79292,7 @@ 115 # Start by getting the version number. I think the libtool test already 116 # does some of this, but throws away the result. 117 118 - ldver=`$LD --version 2>/dev/null | head -1 | \ 119 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 120 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 121 122 glibcxx_gnu_ld_version=`echo $ldver | \ 123 @@ -81537,7 +81537,7 @@ 124 # Start by getting the version number. I think the libtool test already 125 # does some of this, but throws away the result. 126 127 - ldver=`$LD --version 2>/dev/null | head -1 | \ 128 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 129 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 130 131 glibcxx_gnu_ld_version=`echo $ldver | \ 132 @@ -84550,7 +84550,7 @@ 133 # Start by getting the version number. I think the libtool test already 134 # does some of this, but throws away the result. 135 136 - ldver=`$LD --version 2>/dev/null | head -1 | \ 137 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 138 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 139 140 glibcxx_gnu_ld_version=`echo $ldver | \ 141 @@ -86748,7 +86748,7 @@ 142 # Start by getting the version number. I think the libtool test already 143 # does some of this, but throws away the result. 144 145 - ldver=`$LD --version 2>/dev/null | head -1 | \ 146 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 147 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 148 149 glibcxx_gnu_ld_version=`echo $ldver | \ 150 @@ -88995,7 +88995,7 @@ 151 # Start by getting the version number. I think the libtool test already 152 # does some of this, but throws away the result. 153 154 - ldver=`$LD --version 2>/dev/null | head -1 | \ 155 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 156 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 157 158 glibcxx_gnu_ld_version=`echo $ldver | \ 159 @@ -91603,7 +91603,7 @@ 160 # Start by getting the version number. I think the libtool test already 161 # does some of this, but throws away the result. 162 163 - ldver=`$LD --version 2>/dev/null | head -1 | \ 164 + ldver=`$LD --version 2>/dev/null | head -n 1 | \ 165 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 166 167 glibcxx_gnu_ld_version=`echo $ldver | \ 168 diff -Naur gcc-4.0.1.orig/ltcf-c.sh gcc-4.0.1/ltcf-c.sh 169 --- gcc-4.0.1.orig/ltcf-c.sh 2005-05-14 00:42:34.000000000 +0000 170 +++ gcc-4.0.1/ltcf-c.sh 2005-08-27 21:07:08.000000000 +0000 85 diff -Naur gcc-4.1.0.orig/libstdc++-v3/configure gcc-4.1.0/libstdc++-v3/configure 86 --- gcc-4.1.0.orig/libstdc++-v3/configure 2006-01-19 17:55:55.000000000 -0500 87 +++ gcc-4.1.0/libstdc++-v3/configure 2006-02-28 22:08:16.000000000 -0500 88 @@ -8201,7 +8201,7 @@ 89 # Start by getting the version number. I think the libtool test already 90 # does some of this, but throws away the result. 91 92 - ldver=`$LD --version 2>/dev/null | head -1 | \ 93 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 94 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 95 96 glibcxx_gnu_ld_version=`echo $ldver | \ 97 @@ -53040,7 +53040,7 @@ 98 # Start by getting the version number. I think the libtool test already 99 # does some of this, but throws away the result. 100 101 - ldver=`$LD --version 2>/dev/null | head -1 | \ 102 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 103 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 104 105 glibcxx_gnu_ld_version=`echo $ldver | \ 106 @@ -74372,7 +74372,7 @@ 107 # Start by getting the version number. I think the libtool test already 108 # does some of this, but throws away the result. 109 110 - ldver=`$LD --version 2>/dev/null | head -1 | \ 111 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 112 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 113 114 glibcxx_gnu_ld_version=`echo $ldver | \ 115 @@ -75867,7 +75867,7 @@ 116 # Start by getting the version number. I think the libtool test already 117 # does some of this, but throws away the result. 118 119 - ldver=`$LD --version 2>/dev/null | head -1 | \ 120 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 121 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 122 123 glibcxx_gnu_ld_version=`echo $ldver | \ 124 @@ -77238,7 +77238,7 @@ 125 # Start by getting the version number. I think the libtool test already 126 # does some of this, but throws away the result. 127 128 - ldver=`$LD --version 2>/dev/null | head -1 | \ 129 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 130 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 131 132 glibcxx_gnu_ld_version=`echo $ldver | \ 133 @@ -79396,7 +79396,7 @@ 134 # Start by getting the version number. I think the libtool test already 135 # does some of this, but throws away the result. 136 137 - ldver=`$LD --version 2>/dev/null | head -1 | \ 138 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 139 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 140 141 glibcxx_gnu_ld_version=`echo $ldver | \ 142 @@ -80720,7 +80720,7 @@ 143 # Start by getting the version number. I think the libtool test already 144 # does some of this, but throws away the result. 145 146 - ldver=`$LD --version 2>/dev/null | head -1 | \ 147 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 148 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 149 150 glibcxx_gnu_ld_version=`echo $ldver | \ 151 @@ -82093,7 +82093,7 @@ 152 # Start by getting the version number. I think the libtool test already 153 # does some of this, but throws away the result. 154 155 - ldver=`$LD --version 2>/dev/null | head -1 | \ 156 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 157 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 158 159 glibcxx_gnu_ld_version=`echo $ldver | \ 160 @@ -83858,7 +83858,7 @@ 161 # Start by getting the version number. I think the libtool test already 162 # does some of this, but throws away the result. 163 164 - ldver=`$LD --version 2>/dev/null | head -1 | \ 165 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 166 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 167 168 glibcxx_gnu_ld_version=`echo $ldver | \ 169 @@ -85944,7 +85944,7 @@ 170 # Start by getting the version number. I think the libtool test already 171 # does some of this, but throws away the result. 172 173 - ldver=`$LD --version 2>/dev/null | head -1 | \ 174 + ldver=`$LD --version 2>/dev/null | head -n -1 | \ 175 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'` 176 177 glibcxx_gnu_ld_version=`echo $ldver | \ 178 diff -Naur gcc-4.1.0.orig/ltcf-c.sh gcc-4.1.0/ltcf-c.sh 179 --- gcc-4.1.0.orig/ltcf-c.sh 2005-11-18 17:53:08.000000000 -0500 180 +++ gcc-4.1.0/ltcf-c.sh 2006-02-28 22:08:16.000000000 -0500 171 181 @@ -153,7 +153,7 @@ 172 182 # If the export-symbols file already is a .def file (1st line … … 178 188 else 179 189 echo EXPORTS > $output_objdir/$soname-def; 180 diff -Naur gcc-4. 0.1.orig/ltcf-gcj.sh gcc-4.0.1/ltcf-gcj.sh181 --- gcc-4. 0.1.orig/ltcf-gcj.sh 2005-05-14 00:42:34.000000000 +0000182 +++ gcc-4. 0.1/ltcf-gcj.sh 2005-08-27 21:07:08.000000000 +0000190 diff -Naur gcc-4.1.0.orig/ltcf-gcj.sh gcc-4.1.0/ltcf-gcj.sh 191 --- gcc-4.1.0.orig/ltcf-gcj.sh 2005-07-15 22:30:53.000000000 -0400 192 +++ gcc-4.1.0/ltcf-gcj.sh 2006-02-28 22:08:16.000000000 -0500 183 193 @@ -156,7 +156,7 @@ 184 194 # If the export-symbols file already is a .def file (1st line
Note:
See TracChangeset
for help on using the changeset viewer.