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.

241 lines
10 KiB

  1. --- ./gcc/testsuite/ada/acats/run_all.sh.orig 2004-04-26 23:15:54.000000000 +0200
  2. +++ ./gcc/testsuite/ada/acats/run_all.sh 2005-03-25 19:24:49.000000000 +0100
  3. @@ -229,7 +229,7 @@
  4. ls ${i}?.adb > ${i}.lst 2> /dev/null
  5. ls ${i}*m.adb >> ${i}.lst 2> /dev/null
  6. ls ${i}.adb >> ${i}.lst 2> /dev/null
  7. - main=`tail -1 ${i}.lst`
  8. + main=`tail -n 1 ${i}.lst`
  9. binmain=`echo $main | sed -e 's/\(.*\)\..*/\1/g'`
  10. echo "BUILD $main" >> $dir/acats.log
  11. EXTERNAL_OBJECTS=""
  12. --- ./gcc/Makefile.in.orig 2005-02-17 09:47:19.000000000 +0100
  13. +++ ./gcc/Makefile.in 2005-03-25 19:24:31.000000000 +0100
  14. @@ -3898,8 +3898,8 @@
  15. for file in $$dir/*$(objext); do \
  16. case "$@" in \
  17. slowcompare* ) \
  18. - tail +16c ./$$file > tmp-foo1; \
  19. - tail +16c stage$$stage/$$file > tmp-foo2 \
  20. + tail -n +16c ./$$file > tmp-foo1; \
  21. + tail -n +16c stage$$stage/$$file > tmp-foo2 \
  22. && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $$file differs >> .bad_compare) || true; \
  23. ;; \
  24. fastcompare* ) \
  25. --- ./gcc/configure.orig 2005-02-25 19:42:35.000000000 +0100
  26. +++ ./gcc/configure 2005-03-25 19:24:32.000000000 +0100
  27. @@ -13489,7 +13489,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 -n 3 > 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. --- ./gcc/configure.ac.orig 2005-02-25 19:42:35.000000000 +0100
  37. +++ ./gcc/configure.ac 2005-03-25 19:24:33.000000000 +0100
  38. @@ -2211,7 +2211,7 @@
  39. # and we got the correct data, then succeed.
  40. if test x$gcc_cv_objdump != x \
  41. && $gcc_cv_objdump -s -j .eh_frame conftest.o 2>/dev/null \
  42. - | tail -3 > conftest.got \
  43. + | tail -n 3 > conftest.got \
  44. && { cmp conftest.lit conftest.got > /dev/null 2>&1 \
  45. || cmp conftest.big conftest.got > /dev/null 2>&1; }
  46. then
  47. --- ./config/acx.m4.orig 2004-08-14 00:31:45.000000000 +0200
  48. +++ ./config/acx.m4 2005-03-25 19:25:10.000000000 +0100
  49. @@ -228,7 +228,7 @@
  50. [AC_CACHE_CHECK([how to compare bootstrapped objects], gcc_cv_prog_cmp_skip,
  51. [ echo abfoo >t1
  52. echo cdfoo >t2
  53. - gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  54. + gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  55. if cmp t1 t2 2 2 > /dev/null 2>&1; then
  56. if cmp t1 t2 1 1 > /dev/null 2>&1; then
  57. :
  58. --- ./contrib/test_summary.orig 2004-08-26 07:51:22.000000000 +0200
  59. +++ ./contrib/test_summary 2005-03-25 19:25:10.628454344 +0100
  60. @@ -106,7 +106,7 @@
  61. srcdir = configflags;
  62. sub(/\/configure .*/, "", srcdir);
  63. printf "LAST_UPDATED: ";
  64. - system("tail -1 " srcdir "/LAST_UPDATED");
  65. + system("tail -n 1 " srcdir "/LAST_UPDATED");
  66. print "";
  67. sub(/^[^ ]*\/configure */, " ", configflags);
  68. --- ./libjava/acinclude.m4.orig 2004-09-23 03:14:00.000000000 +0200
  69. +++ ./libjava/acinclude.m4 2005-03-25 19:25:17.422421504 +0100
  70. @@ -17,8 +17,8 @@
  71. AC_MSG_CHECKING(whether 'ld' is at least 2.13)
  72. LD_PROG=`$CC --print-prog-name=ld`
  73. LD_VERSION=`$LD_PROG --version`
  74. -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  75. -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
  76. +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  77. +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
  78. if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
  79. LD_OK="ok"
  80. else
  81. --- ./libjava/configure.orig 2005-03-20 00:15:42.000000000 +0100
  82. +++ ./libjava/configure 2005-03-25 19:25:17.592395664 +0100
  83. @@ -5918,8 +5918,8 @@
  84. echo $ECHO_N "checking whether 'ld' is at least 2.13... $ECHO_C" >&6
  85. LD_PROG=`$CC --print-prog-name=ld`
  86. LD_VERSION=`$LD_PROG --version`
  87. -LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  88. -LD_VERSION_MINOR=`echo "$LD_VERSION" | head -1 | cut -d '.' -f 2`
  89. +LD_VERSION_MAJOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 1 | cut -d ' ' -f 4`
  90. +LD_VERSION_MINOR=`echo "$LD_VERSION" | head -n 1 | cut -d '.' -f 2`
  91. if expr "$LD_VERSION_MAJOR" \> 2 > /dev/null; then
  92. LD_OK="ok"
  93. else
  94. --- ./libstdc++-v3/acinclude.m4.orig 2005-02-24 19:55:16.000000000 +0100
  95. +++ ./libstdc++-v3/acinclude.m4 2005-03-25 19:25:34.534820024 +0100
  96. @@ -241,7 +241,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. changequote(,)
  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. changequote([,])
  104. glibcxx_gnu_ld_version=`echo $ldver | \
  105. --- ./libstdc++-v3/configure.orig 2005-02-24 19:55:17.000000000 +0100
  106. +++ ./libstdc++-v3/configure 2005-03-25 19:25:35.386690520 +0100
  107. @@ -9880,7 +9880,7 @@
  108. # Start by getting the version number. I think the libtool test already
  109. # does some of this, but throws away the result.
  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. glibcxx_gnu_ld_version=`echo $ldver | \
  114. @@ -55252,7 +55252,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. - ldver=`$LD --version 2>/dev/null | head -1 | \
  118. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  119. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  120. glibcxx_gnu_ld_version=`echo $ldver | \
  121. @@ -76923,7 +76923,7 @@
  122. # Start by getting the version number. I think the libtool test already
  123. # does some of this, but throws away the result.
  124. - ldver=`$LD --version 2>/dev/null | head -1 | \
  125. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  126. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  127. glibcxx_gnu_ld_version=`echo $ldver | \
  128. @@ -79292,7 +79292,7 @@
  129. # Start by getting the version number. I think the libtool test already
  130. # does some of this, but throws away the result.
  131. - ldver=`$LD --version 2>/dev/null | head -1 | \
  132. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  133. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  134. glibcxx_gnu_ld_version=`echo $ldver | \
  135. @@ -81537,7 +81537,7 @@
  136. # Start by getting the version number. I think the libtool test already
  137. # does some of this, but throws away the result.
  138. - ldver=`$LD --version 2>/dev/null | head -1 | \
  139. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  140. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  141. glibcxx_gnu_ld_version=`echo $ldver | \
  142. @@ -84550,7 +84550,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. - 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. glibcxx_gnu_ld_version=`echo $ldver | \
  149. @@ -86748,7 +86748,7 @@
  150. # Start by getting the version number. I think the libtool test already
  151. # does some of this, but throws away the result.
  152. - ldver=`$LD --version 2>/dev/null | head -1 | \
  153. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  154. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  155. glibcxx_gnu_ld_version=`echo $ldver | \
  156. @@ -88995,7 +88995,7 @@
  157. # Start by getting the version number. I think the libtool test already
  158. # does some of this, but throws away the result.
  159. - ldver=`$LD --version 2>/dev/null | head -1 | \
  160. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  161. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  162. glibcxx_gnu_ld_version=`echo $ldver | \
  163. @@ -91603,7 +91603,7 @@
  164. # Start by getting the version number. I think the libtool test already
  165. # does some of this, but throws away the result.
  166. - ldver=`$LD --version 2>/dev/null | head -1 | \
  167. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  168. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  169. glibcxx_gnu_ld_version=`echo $ldver | \
  170. @@ -95660,7 +95660,7 @@
  171. # Start by getting the version number. I think the libtool test already
  172. # does some of this, but throws away the result.
  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. glibcxx_gnu_ld_version=`echo $ldver | \
  177. --- ./ChangeLog.orig 2005-03-14 02:37:04.000000000 +0100
  178. +++ ./ChangeLog 2005-03-25 19:25:09.070691160 +0100
  179. @@ -10853,7 +10853,7 @@
  180. to i386-sco3.2v4. Set TARGETS and CFLAGS for i386-sco3.2v4.
  181. (all-cygnus, native, build-cygnus): Make
  182. $(canonhost)-stamp-3stage-done, not $(host)....
  183. - * test-build.mk (stamp-3stage-compared): Use tail +10c for
  184. + * test-build.mk (stamp-3stage-compared): Use tail -n +10c for
  185. i386-sco3.2v4. Added else true to if command.
  186. Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com)
  187. --- ./configure.orig 2005-02-23 11:12:44.000000000 +0100
  188. +++ ./configure 2005-03-25 19:25:09.490627320 +0100
  189. @@ -2158,7 +2158,7 @@
  190. else
  191. echo abfoo >t1
  192. echo cdfoo >t2
  193. - gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  194. + gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  195. if cmp t1 t2 2 2 > /dev/null 2>&1; then
  196. if cmp t1 t2 1 1 > /dev/null 2>&1; then
  197. :
  198. --- ./ltcf-c.sh.orig 2004-10-02 18:33:06.000000000 +0200
  199. +++ ./ltcf-c.sh 2005-03-25 19:25:09.537620176 +0100
  200. @@ -153,7 +153,7 @@
  201. # If the export-symbols file already is a .def file (1st line
  202. # is EXPORTS), use it as is.
  203. # If DATA tags from a recent dlltool are present, honour them!
  204. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  205. + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  206. cp $export_symbols $output_objdir/$soname-def;
  207. else
  208. echo EXPORTS > $output_objdir/$soname-def;
  209. --- ./ltcf-gcj.sh.orig 2004-04-27 08:14:30.000000000 +0200
  210. +++ ./ltcf-gcj.sh 2005-03-25 19:25:09.554617592 +0100
  211. @@ -156,7 +156,7 @@
  212. # If the export-symbols file already is a .def file (1st line
  213. # is EXPORTS), use it as is.
  214. # If DATA tags from a recent dlltool are present, honour them!
  215. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  216. + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  217. cp $export_symbols $output_objdir/$soname-def;
  218. else
  219. echo EXPORTS > $output_objdir/$soname-def;