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.

61 lines
2.5 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/tibit/dpkg/head1.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. --- ./config.guess 2001-04-15 22:37:33.000000000 +0200
  20. +++ /tmp/tmp.kINzFP2545 2004-05-21 10:36:10.000000000 +0200
  21. @@ -314,7 +314,7 @@
  22. echo m68k-sun-sunos${UNAME_RELEASE}
  23. exit 0 ;;
  24. sun*:*:4.2BSD:*)
  25. - UNAME_RELEASE=`(head -1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  26. + UNAME_RELEASE=`(head -n 1 /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
  27. test "x${UNAME_RELEASE}" = "x" && UNAME_RELEASE=3
  28. case "`/bin/arch`" in
  29. sun3)
  30. @@ -493,7 +493,7 @@
  31. fi
  32. exit 0 ;;
  33. *:AIX:*:[45])
  34. - IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -1 | awk '{ print $1 }'`
  35. + IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | head -n 1 | awk '{ print $1 }'`
  36. if /usr/sbin/lsattr -El ${IBM_CPU_ID} | grep ' POWER' >/dev/null 2>&1; then
  37. IBM_ARCH=rs6000
  38. else
  39. --- ./dselect/Makefile.in 2001-04-24 13:02:50.000000000 +0200
  40. +++ /tmp/tmp.SHaCDd2558 2004-05-21 10:36:11.000000000 +0200
  41. @@ -57,7 +57,7 @@
  42. curkeys.h: keyoverride $(srcdir)/mkcurkeys.pl
  43. cursesfile=`echo '#include <curses.h>' | \
  44. - $(CC) -E - | grep 'curses.h' | head -1 | \
  45. + $(CC) -E - | grep 'curses.h' | head -n 1 | \
  46. $(SED) -e 's/^[^"]*"//; s/".*$$//'`; \
  47. if [ "$$cursesfile" = "" ]; then echo "can't find curses file"; exit 1; fi; \
  48. perl $(srcdir)/mkcurkeys.pl $< $$cursesfile > $@
  49. --- ./methods/disk.setup 2000-12-24 09:41:48.000000000 +0100
  50. +++ /tmp/tmp.fKYzOF2566 2004-05-21 10:36:11.000000000 +0200
  51. @@ -422,7 +422,7 @@
  52. fi
  53. if ! ( find "$mountpoint$2/" -follow -name '*.deb' -print \
  54. - | head -1 ) 2>/dev/null | grep . >/dev/null
  55. + | head -n 1 ) 2>/dev/null | grep . >/dev/null
  56. then
  57. echo "\`$2' does not contain any *.deb packages. Hmmpf."
  58. return