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.

75 lines
3.3 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/stf/squeak/squeak-head-tail.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2006 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 Squeak-3.6-3/platforms/unix/config/inisqueak.in Squeak-3.6-3-patch/platforms/unix/config/inisqueak.in
  20. --- Squeak-3.6-3/platforms/unix/config/inisqueak.in 2003-08-31 07:31:35.000000000 +0200
  21. +++ Squeak-3.6-3-patch/platforms/unix/config/inisqueak.in 2004-09-26 13:12:57.028629888 +0200
  22. @@ -191,7 +191,7 @@
  23. echo
  24. fi
  25. done
  26. - IMAGE=`echo ${images} | tr ' ' '\012' | tail +${reply} | head -1`
  27. + IMAGE=`echo ${images} | tr ' ' '\012' | tail -n+${reply} | head -n1`
  28. CHANGES=${IMAGE}.changes.gz
  29. IMAGE=${IMAGE}.image.gz
  30. fi
  31. diff -dur Squeak-3.6-3/platforms/unix/config/mkconfig.in Squeak-3.6-3-patch/platforms/unix/config/mkconfig.in
  32. --- Squeak-3.6-3/platforms/unix/config/mkconfig.in 2003-02-10 04:28:32.000000000 +0100
  33. +++ Squeak-3.6-3-patch/platforms/unix/config/mkconfig.in 2004-09-26 13:13:30.157593520 +0200
  34. @@ -2,8 +2,8 @@
  35. int_modules="@int_modules@"
  36. ext_modules="@ext_modules@"
  37. -int_plugins="@int_plugins@ `tail -1 @vmmdir@/plugins.int | sed 's,.* =,,'`"
  38. -ext_plugins="@ext_plugins@ `tail -1 @vmmdir@/plugins.ext | sed 's,.* =,,'`"
  39. +int_plugins="@int_plugins@ `tail -n1 @vmmdir@/plugins.int | sed 's,.* =,,'`"
  40. +ext_plugins="@ext_plugins@ `tail -n1 @vmmdir@/plugins.ext | sed 's,.* =,,'`"
  41. if test -f plugins.exc; then
  42. nlsp='tr \012\015 \040\040'
  43. --- ./platforms/unix/config/verstamp 2002-10-27 02:29:04.000000000 +0200
  44. +++ ./platforms/unix/config/verstamp-p 2004-11-03 02:52:26.487000096 +0100
  45. @@ -5,14 +5,14 @@
  46. # Last edited: 2002-06-08 18:32:53 by piumarta on emilia.inria.fr
  47. if test -f $1; then
  48. - SERIAL=`head -1 $1 | cut -d ' ' -f 3 | sed 's/;//'`
  49. + SERIAL=`head -n1 $1 | cut -d ' ' -f 3 | sed 's/;//'`
  50. SERIAL=`expr $SERIAL + 1`
  51. else
  52. SERIAL=1
  53. fi
  54. if expr "$2" : ".*gcc" >/dev/null ; then
  55. - CC=`$2 -v 2>&1 | tail -1 | sed 's/.*based on//g' | awk '{print $1 , $3} '`
  56. + CC=`$2 -v 2>&1 | tail -n1 | sed 's/.*based on//g' | awk '{print $1 , $3} '`
  57. else
  58. CC=$2
  59. fi
  60. --- ./platforms/unix/config/ltcf-c.sh 2002-11-27 15:21:02.000000000 +0100
  61. +++ ./platforms/unix/config/ltcf-c.sh-p 2004-11-03 02:54:22.545356544 +0100
  62. @@ -151,7 +151,7 @@
  63. # If the export-symbols file already is a .def file (1st line
  64. # is EXPORTS), use it as is.
  65. # If DATA tags from a recent dlltool are present, honour them!
  66. - archive_expsym_cmds='if test "x`head -1 $export_symbols`" = xEXPORTS; then
  67. + archive_expsym_cmds='if test "x`head -n1 $export_symbols`" = xEXPORTS; then
  68. cp $export_symbols $output_objdir/$soname-def;
  69. else
  70. echo EXPORTS > $output_objdir/$soname-def;