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.

57 lines
2.4 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/avm/lphdisk/gcc34.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 -ruN lphdisk-0.9.1/lphdisk.c lphdisk-0.9.1-new/lphdisk.c
  20. --- lphdisk-0.9.1/lphdisk.c 2002-02-12 12:04:27.000000000 +0100
  21. +++ lphdisk-0.9.1-new/lphdisk.c 2004-07-27 17:36:39.772379624 +0200
  22. @@ -719,20 +719,20 @@
  23. {0,0,0,0}};
  24. const char usage_string[] = "\
  25. -Usage: %1$s [options] [device]
  26. -Prepare a hibernation partition for APM suspend-to-disk.
  27. -
  28. -options:
  29. - -h, --help Display brief usage and option information (this screen)
  30. - -p, --probeonly Only calculate and display required size, do not format
  31. - -q, --quiet Turn off informational messages, useful for scripts
  32. - -d, --debug Turn on (verbose) debugging messages
  33. - -n, --nowrite Do not actually write to the disk
  34. - -f, --force **DANGEROUS** Format without regard to potential problems
  35. -
  36. -'device' should be a raw disk device (not a partition). The default device
  37. -is /dev/hda.
  38. -
  39. +Usage: %1$s [options] [device]\n\
  40. +Prepare a hibernation partition for APM suspend-to-disk.\n\
  41. +\n\
  42. +options:\n\
  43. + -h, --help Display brief usage and option information (this screen)\n\
  44. + -p, --probeonly Only calculate and display required size, do not format\n\
  45. + -q, --quiet Turn off informational messages, useful for scripts\n\
  46. + -d, --debug Turn on (verbose) debugging messages\n\
  47. + -n, --nowrite Do not actually write to the disk\n\
  48. + -f, --force **DANGEROUS** Format without regard to potential problems\n\
  49. +\n\
  50. +'device' should be a raw disk device (not a partition). The default device\n\
  51. +is /dev/hda.\n\
  52. +\n\
  53. (%2$s)\n\n";
  54. void print_usage (void) {