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.

91 lines
3.1 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/gcc/gcc2/head-tail.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. diff -dur gcc-2.95.3/config.guess gcc-2.95.3-p/config.guess
  20. --- gcc-2.95.3/config.guess 2000-03-08 05:52:57.000000000 +0100
  21. +++ gcc-2.95.3-p/config.guess 2004-11-04 16:19:16.086160368 +0100
  22. @@ -187,7 +187,7 @@
  23. echo m68k-sun-sunos${UNAME_RELEASE}
  24. exit 0 ;;
  25. sun*:*:4.2BSD:*)
  26. - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  27. + UNAME_RELEASE=`(head -n1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  28. test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  29. case "`/bin/arch`" in
  30. sun3)
  31. diff -dur gcc-2.95.3/configure gcc-2.95.3-p/configure
  32. --- gcc-2.95.3/configure 1999-04-02 16:17:40.000000000 +0200
  33. +++ gcc-2.95.3-p/configure 2004-11-04 16:19:50.391945096 +0100
  34. @@ -810,7 +810,7 @@
  35. s/\\\n//g
  36. t loop
  37. /^CC[ ]*=/ s/CC[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc
  38. - CC=`tail -1 Makefile.cc`
  39. + CC=`tail -n1 Makefile.cc`
  40. rm -f Makefile.cc
  41. fi
  42. @@ -820,7 +820,7 @@
  43. s/\\\n//g
  44. t loop
  45. /^CFLAGS[ ]*=/ s/CFLAGS[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc
  46. - CFLAGS=`tail -1 Makefile.cc`
  47. + CFLAGS=`tail -n1 Makefile.cc`
  48. rm -f Makefile.cc
  49. fi
  50. @@ -830,7 +830,7 @@
  51. s/\\\n//g
  52. t loop
  53. /^CXX[ ]*=/ s/CXX[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc
  54. - CXX=`tail -1 Makefile.cc`
  55. + CXX=`tail -n1 Makefile.cc`
  56. rm -f Makefile.cc
  57. fi
  58. @@ -840,7 +840,7 @@
  59. s/\\\n//g
  60. t loop
  61. /^CXXFLAGS[ ]*=/ s/CXXFLAGS[ ]*=[ ]*\(.*\)/\1/p' < Makefile > Makefile.cc
  62. - CXXFLAGS=`tail -1 Makefile.cc`
  63. + CXXFLAGS=`tail -n1 Makefile.cc`
  64. rm -f Makefile.cc
  65. fi
  66. @@ -920,7 +920,7 @@
  67. t loop
  68. /^'"${var}"'[ ]*=/ s/'"${var}"'[ ]*=[ ]*\(.*\)/\1/p' \
  69. < Makefile > Makefile.v
  70. - t=`tail -1 Makefile.v`
  71. + t=`tail -n1 Makefile.v`
  72. if [ -n "${t}" ]; then
  73. eval "${var}='${t}'"
  74. fi
  75. diff -dur gcc-2.95.3/libio/dbz/Makefile.in gcc-2.95.3-p/libio/dbz/Makefile.in
  76. --- gcc-2.95.3/libio/dbz/Makefile.in 1998-08-30 23:30:22.000000000 +0200
  77. +++ gcc-2.95.3-p/libio/dbz/Makefile.in 2004-11-04 16:19:35.521205792 +0100
  78. @@ -107,7 +107,7 @@
  79. stamp-r1: $(RHIST) $(R2HIST) stamp-r0
  80. : crude check of synthetic history file
  81. - ( sed 25q $(RHIST) ; tail -25 $(RHIST) ) >histjunk
  82. + ( sed 25q $(RHIST) ; tail -n25 $(RHIST) ) >histjunk
  83. cmp histjunk $(srcdir)/firstlast25
  84. rm histjunk
  85. @touch stamp-r1