diff options
author | Daniel Black <dragonheart@gentoo.org> | 2004-06-07 07:15:07 +0000 |
---|---|---|
committer | Daniel Black <dragonheart@gentoo.org> | 2004-06-07 07:15:07 +0000 |
commit | 095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5 (patch) | |
tree | 100ca7fad01b13198d1cbfaaab67634dbddb5a8b /app-laptop/lphdisk/files | |
parent | Moving to app-laptop/lphdisk (diff) | |
download | gentoo-2-095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5.tar.gz gentoo-2-095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5.tar.bz2 gentoo-2-095f34d51d3822d0d0cd33b3e9575cef4bbe8ca5.zip |
Moved from app-misc/lphdisk to app-laptop/lphdisk.
Diffstat (limited to 'app-laptop/lphdisk/files')
-rw-r--r-- | app-laptop/lphdisk/files/digest-lphdisk-0.9.1 | 1 | ||||
-rw-r--r-- | app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1 | 1 | ||||
-rw-r--r-- | app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch | 41 |
3 files changed, 43 insertions, 0 deletions
diff --git a/app-laptop/lphdisk/files/digest-lphdisk-0.9.1 b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1 new file mode 100644 index 000000000000..c58958c296ef --- /dev/null +++ b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1 @@ -0,0 +1 @@ +MD5 2ba99b08e7816ff3249eaf953fb5dc18 lphdisk-0.9.1.tar.bz2 26343 diff --git a/app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1 b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1 new file mode 100644 index 000000000000..c58958c296ef --- /dev/null +++ b/app-laptop/lphdisk/files/digest-lphdisk-0.9.1-r1 @@ -0,0 +1 @@ +MD5 2ba99b08e7816ff3249eaf953fb5dc18 lphdisk-0.9.1.tar.bz2 26343 diff --git a/app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch b/app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch new file mode 100644 index 000000000000..19cc0d6cac81 --- /dev/null +++ b/app-laptop/lphdisk/files/lphdisk-0.9.1-gcc3.patch @@ -0,0 +1,41 @@ +--- lphdisk-0.9.1/lphdisk.c ++++ lphdisk-0.9.1/lphdisk.c +@@ -718,22 +718,22 @@ + {"force", 0, 0, 'f'}, + {0,0,0,0}}; + +-const char usage_string[] = "\ +-Usage: %1$s [options] [device] +-Prepare a hibernation partition for APM suspend-to-disk. +- +-options: +- -h, --help Display brief usage and option information (this screen) +- -p, --probeonly Only calculate and display required size, do not format +- -q, --quiet Turn off informational messages, useful for scripts +- -d, --debug Turn on (verbose) debugging messages +- -n, --nowrite Do not actually write to the disk +- -f, --force **DANGEROUS** Format without regard to potential problems +- +-'device' should be a raw disk device (not a partition). The default device +-is /dev/hda. +- +-(%2$s)\n\n"; ++const char usage_string[] = "" ++"Usage: %1$s [options] [device]\n" ++"Prepare a hibernation partition for APM suspend-to-disk.\n" ++"\n" ++"options:\n" ++" -h, --help Display brief usage and option information (this screen)\n" ++" -p, --probeonly Only calculate and display required size, do not format\n" ++" -q, --quiet Turn off informational messages, useful for scripts\n" ++" -d, --debug Turn on (verbose) debugging messages\n" ++" -n, --nowrite Do not actually write to the disk\n" ++" -f, --force **DANGEROUS** Format without regard to potential problems\n" ++"\n" ++"'device' should be a raw disk device (not a partition). The default device\n" ++"is /dev/hda.\n" ++"\n" ++"(%2$s)\n\n"; + + void print_usage (void) { + char *progname = rindex(argv0, '/'); |