mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

240 lines
11 KiB

  1. diff -dur gcc-3.4.2/contrib/test_summary gcc-3.4.2-p/contrib/test_summary
  2. --- gcc-3.4.2/contrib/test_summary 2004-08-26 07:49:13.000000000 +0200
  3. +++ gcc-3.4.2-p/contrib/test_summary 2004-11-05 02:27:04.000000000 +0100
  4. @@ -106,7 +106,7 @@
  5. srcdir = configflags;
  6. sub(/\/configure .*/, "", srcdir);
  7. printf "LAST_UPDATED: ";
  8. - system("tail -1 " srcdir "/LAST_UPDATED");
  9. + system("tail -n1 " srcdir "/LAST_UPDATED");
  10. print "";
  11. sub(/^[^ ]*\/configure */, " ", configflags);
  12. diff -dur gcc-3.4.2/gcc/configure gcc-3.4.2-p/gcc/configure
  13. --- gcc-3.4.2/gcc/configure 2004-07-13 08:58:29.000000000 +0200
  14. +++ gcc-3.4.2-p/gcc/configure 2004-11-05 02:27:05.000000000 +0100
  15. @@ -10127,7 +10127,7 @@
  16. # and we got the correct data, then succeed.
  17. if test x$gcc_cv_objdump != x \
  18. && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
  19. - | tail -3 > conftest.got \
  20. + | tail -n3 > conftest.got \
  21. && { cmp conftest.lit conftest.got > /dev/null 2>&1 \
  22. || cmp conftest.big conftest.got > /dev/null 2>&1; }
  23. then
  24. diff -dur gcc-3.4.2/gcc/configure.ac gcc-3.4.2-p/gcc/configure.ac
  25. --- gcc-3.4.2/gcc/configure.ac 2004-07-13 08:58:29.000000000 +0200
  26. +++ gcc-3.4.2-p/gcc/configure.ac 2004-11-05 02:27:05.000000000 +0100
  27. @@ -2018,7 +2018,7 @@
  28. # and we got the correct data, then succeed.
  29. if test x$gcc_cv_objdump != x \
  30. && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
  31. - | tail -3 > conftest.got \
  32. + | tail -n3 > conftest.got \
  33. && { cmp conftest.lit conftest.got > /dev/null 2>&1 \
  34. || cmp conftest.big conftest.got > /dev/null 2>&1; }
  35. then
  36. diff -dur gcc-3.4.2/gcc/testsuite/ada/acats/run_all.sh gcc-3.4.2-p/gcc/testsuite/ada/acats/run_all.sh
  37. --- gcc-3.4.2/gcc/testsuite/ada/acats/run_all.sh 2004-01-13 12:48:46.000000000 +0100
  38. +++ gcc-3.4.2-p/gcc/testsuite/ada/acats/run_all.sh 2004-11-05 02:27:05.000000000 +0100
  39. @@ -204,7 +204,7 @@
  40. ls ${i}?.adb > ${i}.lst 2> /dev/null
  41. ls ${i}*m.adb >> ${i}.lst 2> /dev/null
  42. ls ${i}.adb >> ${i}.lst 2> /dev/null
  43. - main=`tail -1 ${i}.lst`
  44. + main=`tail -n1 ${i}.lst`
  45. binmain=`echo $main | sed -e 's/\(.*\)\..*/\1/g'`
  46. echo "BUILD $main" >> $dir/acats.log
  47. EXTERNAL_OBJECTS=""
  48. diff -dur gcc-3.4.2/libjava/acinclude.m4 gcc-3.4.2-p/libjava/acinclude.m4
  49. --- gcc-3.4.2/libjava/acinclude.m4 2003-12-31 09:58:29.000000000 +0100
  50. +++ gcc-3.4.2-p/libjava/acinclude.m4 2004-11-05 02:27:05.000000000 +0100
  51. @@ -250,8 +250,8 @@
  52. AC_MSG_CHECKING(whether 'ld' is at least 2.13)
  53. LD_PROG=`$CC --print-prog-name=ld`
  54. LD_VERSION=`$LD_PROG --version`
  55. -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  56. -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
  57. +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  58. +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n1 | cut -d '.' -f 2`
  59. if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
  60. LD_OK="ok"
  61. else
  62. diff -dur gcc-3.4.2/libjava/aclocal.m4 gcc-3.4.2-p/libjava/aclocal.m4
  63. --- gcc-3.4.2/libjava/aclocal.m4 2004-09-07 01:31:35.000000000 +0200
  64. +++ gcc-3.4.2-p/libjava/aclocal.m4 2004-11-05 02:27:05.000000000 +0100
  65. @@ -262,8 +262,8 @@
  66. AC_MSG_CHECKING(whether 'ld' is at least 2.13)
  67. LD_PROG=`$CC --print-prog-name=ld`
  68. LD_VERSION=`$LD_PROG --version`
  69. -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  70. -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
  71. +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  72. +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n1 | cut -d '.' -f 2`
  73. if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
  74. LD_OK="ok"
  75. else
  76. diff -dur gcc-3.4.2/libjava/configure gcc-3.4.2-p/libjava/configure
  77. --- gcc-3.4.2/libjava/configure 2004-09-07 01:31:35.000000000 +0200
  78. +++ gcc-3.4.2-p/libjava/configure 2004-11-05 02:27:05.000000000 +0100
  79. @@ -3015,8 +3015,8 @@
  80. echo "configure:3016: checking whether 'ld' is at least 2.13" >&5
  81. LD_PROG=`$CC --print-prog-name=ld`
  82. LD_VERSION=`$LD_PROG --version`
  83. -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  84. -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
  85. +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  86. +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n1 | cut -d '.' -f 2`
  87. if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
  88. LD_OK="ok"
  89. else
  90. diff -dur gcc-3.4.2/libstdc++-v3/acinclude.m4 gcc-3.4.2-p/libstdc++-v3/acinclude.m4
  91. --- gcc-3.4.2/libstdc++-v3/acinclude.m4 2004-07-15 19:42:45.000000000 +0200
  92. +++ gcc-3.4.2-p/libstdc++-v3/acinclude.m4 2004-11-05 02:27:05.000000000 +0100
  93. @@ -273,7 +273,7 @@
  94. # Start by getting the version number. I think the libtool test already
  95. # does some of this, but throws away the result.
  96. changequote(,)
  97. - ldver=`$LD --version 2>/dev/null | head -1 | \
  98. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  99. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  100. changequote([,])
  101. glibcxx_gnu_ld_version=`echo $ldver | \
  102. diff -dur gcc-3.4.2/libstdc++-v3/aclocal.m4 gcc-3.4.2-p/libstdc++-v3/aclocal.m4
  103. --- gcc-3.4.2/libstdc++-v3/aclocal.m4 2004-08-13 22:44:03.000000000 +0200
  104. +++ gcc-3.4.2-p/libstdc++-v3/aclocal.m4 2004-11-05 02:27:05.000000000 +0100
  105. @@ -286,7 +286,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. changequote(,)
  109. - ldver=`$LD --version 2>/dev/null | head -1 | \
  110. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  111. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  112. changequote([,])
  113. glibcxx_gnu_ld_version=`echo $ldver | \
  114. diff -dur gcc-3.4.2/libstdc++-v3/configure gcc-3.4.2-p/libstdc++-v3/configure
  115. --- gcc-3.4.2/libstdc++-v3/configure 2004-08-13 22:44:04.000000000 +0200
  116. +++ gcc-3.4.2-p/libstdc++-v3/configure 2004-11-05 02:34:23.000000000 +0100
  117. @@ -7700,7 +7700,7 @@
  118. # Start by getting the version number. I think the libtool test already
  119. # does some of this, but throws away the result.
  120. - ldver=`$LD --version 2>/dev/null | head -1 | \
  121. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  122. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  123. glibcxx_gnu_ld_version=`echo $ldver | \
  124. @@ -46876,7 +46876,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. - ldver=`$LD --version 2>/dev/null | head -1 | \
  128. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  129. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  130. glibcxx_gnu_ld_version=`echo $ldver | \
  131. @@ -65536,7 +65536,7 @@
  132. # Start by getting the version number. I think the libtool test already
  133. # does some of this, but throws away the result.
  134. - ldver=`$LD --version 2>/dev/null | head -1 | \
  135. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  136. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  137. glibcxx_gnu_ld_version=`echo $ldver | \
  138. @@ -67674,7 +67674,7 @@
  139. # Start by getting the version number. I think the libtool test already
  140. # does some of this, but throws away the result.
  141. - ldver=`$LD --version 2>/dev/null | head -1 | \
  142. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  143. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  144. glibcxx_gnu_ld_version=`echo $ldver | \
  145. @@ -69688,7 +69688,7 @@
  146. # Start by getting the version number. I think the libtool test already
  147. # does some of this, but throws away the result.
  148. - ldver=`$LD --version 2>/dev/null | head -1 | \
  149. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  150. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  151. glibcxx_gnu_ld_version=`echo $ldver | \
  152. @@ -72414,7 +72414,7 @@
  153. # Start by getting the version number. I think the libtool test already
  154. # does some of this, but throws away the result.
  155. - ldver=`$LD --version 2>/dev/null | head -1 | \
  156. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  157. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  158. glibcxx_gnu_ld_version=`echo $ldver | \
  159. @@ -74381,7 +74381,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. - ldver=`$LD --version 2>/dev/null | head -1 | \
  163. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  164. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  165. glibcxx_gnu_ld_version=`echo $ldver | \
  166. @@ -76247,7 +76247,7 @@
  167. # Start by getting the version number. I think the libtool test already
  168. # does some of this, but throws away the result.
  169. - ldver=`$LD --version 2>/dev/null | head -1 | \
  170. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  171. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  172. glibcxx_gnu_ld_version=`echo $ldver | \
  173. @@ -79926,7 +79926,7 @@
  174. # Start by getting the version number. I think the libtool test already
  175. # does some of this, but throws away the result.
  176. - ldver=`$LD --version 2>/dev/null | head -1 | \
  177. + ldver=`$LD --version 2>/dev/null | head -n1 | \
  178. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  179. glibcxx_gnu_ld_version=`echo $ldver | \
  180. Nur in gcc-3.4.2-p/libstdc++-v3: configure~.
  181. Nur in gcc-3.4.2-p/libstdc++-v3: configure.rej.
  182. diff -dur gcc-3.4.2/libstdc++-v3/scripts/check_survey.in gcc-3.4.2-p/libstdc++-v3/scripts/check_survey.in
  183. --- gcc-3.4.2/libstdc++-v3/scripts/check_survey.in 2003-07-05 08:00:05.000000000 +0200
  184. +++ gcc-3.4.2-p/libstdc++-v3/scripts/check_survey.in 2004-11-05 02:27:05.000000000 +0100
  185. @@ -182,9 +182,9 @@
  186. function size_command()
  187. {
  188. case $1 in
  189. - TEXT) TEXT=$(size -B $EXENAME | tail -1 | awk '{print $1}') ;;
  190. - DATA) DATA=$(size -B $EXENAME | tail -1 | awk '{print $2}') ;;
  191. - SIZE) SIZE=$(size -B $EXENAME | tail -1 | awk '{print $4}') ;;
  192. + TEXT) TEXT=$(size -B $EXENAME | tail -n1 | awk '{print $1}') ;;
  193. + DATA) DATA=$(size -B $EXENAME | tail -n1 | awk '{print $2}') ;;
  194. + SIZE) SIZE=$(size -B $EXENAME | tail -n1 | awk '{print $4}') ;;
  195. esac
  196. }
  197. else
  198. diff -dur gcc-3.4.2/ltcf-c.sh gcc-3.4.2-p/ltcf-c.sh
  199. --- gcc-3.4.2/ltcf-c.sh 2003-11-19 06:29:32.000000000 +0100
  200. +++ gcc-3.4.2-p/ltcf-c.sh 2004-11-05 02:27:05.000000000 +0100
  201. @@ -153,7 +153,7 @@
  202. # If the export-symbols file already is a .def file (1st line
  203. # is EXPORTS), use it as is.
  204. # If DATA tags from a recent dlltool are present, honour them!
  205. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  206. + archive_expsym_cmds='if test "x`head -n1 $export_symbols`" = xEXPORTS; then
  207. cp $export_symbols $output_objdir/$soname-def;
  208. else
  209. echo EXPORTS > $output_objdir/$soname-def;
  210. diff -dur gcc-3.4.2/ltcf-gcj.sh gcc-3.4.2-p/ltcf-gcj.sh
  211. --- gcc-3.4.2/ltcf-gcj.sh 2003-11-19 06:29:32.000000000 +0100
  212. +++ gcc-3.4.2-p/ltcf-gcj.sh 2004-11-05 02:27:05.000000000 +0100
  213. @@ -156,7 +156,7 @@
  214. # If the export-symbols file already is a .def file (1st line
  215. # is EXPORTS), use it as is.
  216. # If DATA tags from a recent dlltool are present, honour them!
  217. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  218. + archive_expsym_cmds='if test "x`head -n1 $export_symbols`" = xEXPORTS; then
  219. cp $export_symbols $output_objdir/$soname-def;
  220. else
  221. echo EXPORTS > $output_objdir/$soname-def;