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.

256 lines
11 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/scripts/check_survey.in.orig 2003-07-05 08:00:05.000000000 +0200
  95. +++ ./libstdc++-v3/scripts/check_survey.in 2005-03-25 19:25:38.663192416 +0100
  96. @@ -182,9 +182,9 @@
  97. function size_command()
  98. {
  99. case $1 in
  100. - TEXT) TEXT=$(size -B $EXENAME | tail -1 | awk '{print $1}') ;;
  101. - DATA) DATA=$(size -B $EXENAME | tail -1 | awk '{print $2}') ;;
  102. - SIZE) SIZE=$(size -B $EXENAME | tail -1 | awk '{print $4}') ;;
  103. + TEXT) TEXT=$(size -B $EXENAME | tail -n 1 | awk '{print $1}') ;;
  104. + DATA) DATA=$(size -B $EXENAME | tail -n 1 | awk '{print $2}') ;;
  105. + SIZE) SIZE=$(size -B $EXENAME | tail -n 1 | awk '{print $4}') ;;
  106. esac
  107. }
  108. else
  109. --- ./libstdc++-v3/acinclude.m4.orig 2005-02-24 19:55:16.000000000 +0100
  110. +++ ./libstdc++-v3/acinclude.m4 2005-03-25 19:25:34.534820024 +0100
  111. @@ -241,7 +241,7 @@
  112. # Start by getting the version number. I think the libtool test already
  113. # does some of this, but throws away the result.
  114. changequote(,)
  115. - ldver=`$LD --version 2>/dev/null | head -1 | \
  116. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  117. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  118. changequote([,])
  119. glibcxx_gnu_ld_version=`echo $ldver | \
  120. --- ./libstdc++-v3/configure.orig 2005-02-24 19:55:17.000000000 +0100
  121. +++ ./libstdc++-v3/configure 2005-03-25 19:25:35.386690520 +0100
  122. @@ -9880,7 +9880,7 @@
  123. # Start by getting the version number. I think the libtool test already
  124. # does some of this, but throws away the result.
  125. - ldver=`$LD --version 2>/dev/null | head -1 | \
  126. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  127. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  128. glibcxx_gnu_ld_version=`echo $ldver | \
  129. @@ -55252,7 +55252,7 @@
  130. # Start by getting the version number. I think the libtool test already
  131. # does some of this, but throws away the result.
  132. - ldver=`$LD --version 2>/dev/null | head -1 | \
  133. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  134. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  135. glibcxx_gnu_ld_version=`echo $ldver | \
  136. @@ -76923,7 +76923,7 @@
  137. # Start by getting the version number. I think the libtool test already
  138. # does some of this, but throws away the result.
  139. - ldver=`$LD --version 2>/dev/null | head -1 | \
  140. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  141. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  142. glibcxx_gnu_ld_version=`echo $ldver | \
  143. @@ -79292,7 +79292,7 @@
  144. # Start by getting the version number. I think the libtool test already
  145. # does some of this, but throws away the result.
  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. glibcxx_gnu_ld_version=`echo $ldver | \
  150. @@ -81537,7 +81537,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. - ldver=`$LD --version 2>/dev/null | head -1 | \
  154. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  155. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  156. glibcxx_gnu_ld_version=`echo $ldver | \
  157. @@ -84550,7 +84550,7 @@
  158. # Start by getting the version number. I think the libtool test already
  159. # does some of this, but throws away the result.
  160. - ldver=`$LD --version 2>/dev/null | head -1 | \
  161. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  162. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  163. glibcxx_gnu_ld_version=`echo $ldver | \
  164. @@ -86748,7 +86748,7 @@
  165. # Start by getting the version number. I think the libtool test already
  166. # does some of this, but throws away the result.
  167. - ldver=`$LD --version 2>/dev/null | head -1 | \
  168. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  169. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  170. glibcxx_gnu_ld_version=`echo $ldver | \
  171. @@ -88995,7 +88995,7 @@
  172. # Start by getting the version number. I think the libtool test already
  173. # does some of this, but throws away the result.
  174. - ldver=`$LD --version 2>/dev/null | head -1 | \
  175. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  176. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  177. glibcxx_gnu_ld_version=`echo $ldver | \
  178. @@ -91603,7 +91603,7 @@
  179. # Start by getting the version number. I think the libtool test already
  180. # does some of this, but throws away the result.
  181. - ldver=`$LD --version 2>/dev/null | head -1 | \
  182. + ldver=`$LD --version 2>/dev/null | head -n 1 | \
  183. sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
  184. glibcxx_gnu_ld_version=`echo $ldver | \
  185. @@ -95660,7 +95660,7 @@
  186. # Start by getting the version number. I think the libtool test already
  187. # does some of this, but throws away the result.
  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-9.][0-9.]*\).*/\1/'`
  191. glibcxx_gnu_ld_version=`echo $ldver | \
  192. --- ./ChangeLog.orig 2005-03-14 02:37:04.000000000 +0100
  193. +++ ./ChangeLog 2005-03-25 19:25:09.070691160 +0100
  194. @@ -10853,7 +10853,7 @@
  195. to i386-sco3.2v4. Set TARGETS and CFLAGS for i386-sco3.2v4.
  196. (all-cygnus, native, build-cygnus): Make
  197. $(canonhost)-stamp-3stage-done, not $(host)....
  198. - * test-build.mk (stamp-3stage-compared): Use tail +10c for
  199. + * test-build.mk (stamp-3stage-compared): Use tail -n +10c for
  200. i386-sco3.2v4. Added else true to if command.
  201. Mon Dec 28 12:08:56 1992 Ken Raeburn (raeburn@cygnus.com)
  202. --- ./configure.orig 2005-02-23 11:12:44.000000000 +0100
  203. +++ ./configure 2005-03-25 19:25:09.490627320 +0100
  204. @@ -2158,7 +2158,7 @@
  205. else
  206. echo abfoo >t1
  207. echo cdfoo >t2
  208. - gcc_cv_prog_cmp_skip='tail +16c $$f1 > tmp-foo1; tail +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  209. + gcc_cv_prog_cmp_skip='tail -n +16c $$f1 > tmp-foo1; tail -n +16c $$f2 > tmp-foo2; cmp tmp-foo1 tmp-foo2'
  210. if cmp t1 t2 2 2 > /dev/null 2>&1; then
  211. if cmp t1 t2 1 1 > /dev/null 2>&1; then
  212. :
  213. --- ./ltcf-c.sh.orig 2004-10-02 18:33:06.000000000 +0200
  214. +++ ./ltcf-c.sh 2005-03-25 19:25:09.537620176 +0100
  215. @@ -153,7 +153,7 @@
  216. # If the export-symbols file already is a .def file (1st line
  217. # is EXPORTS), use it as is.
  218. # If DATA tags from a recent dlltool are present, honour them!
  219. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  220. + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  221. cp $export_symbols $output_objdir/$soname-def;
  222. else
  223. echo EXPORTS > $output_objdir/$soname-def;
  224. --- ./ltcf-gcj.sh.orig 2004-04-27 08:14:30.000000000 +0200
  225. +++ ./ltcf-gcj.sh 2005-03-25 19:25:09.554617592 +0100
  226. @@ -156,7 +156,7 @@
  227. # If the export-symbols file already is a .def file (1st line
  228. # is EXPORTS), use it as is.
  229. # If DATA tags from a recent dlltool are present, honour them!
  230. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  231. + archive_expsym_cmds='if test "x`head -n 1 $export_symbols`" = xEXPORTS; then
  232. cp $export_symbols $output_objdir/$soname-def;
  233. else
  234. echo EXPORTS > $output_objdir/$soname-def;