diff options
author | fredb <fredb@pkgsrc.org> | 2003-08-25 20:23:06 +0000 |
---|---|---|
committer | fredb <fredb@pkgsrc.org> | 2003-08-25 20:23:06 +0000 |
commit | 0e8103604d15e3de53f016c86248a5f758fcbafb (patch) | |
tree | 659e294ef171774ebea7f45ef44b8c6832bfd0f7 /misc/parchive/patches/patch-ac | |
parent | 1a298c2aa1c242bc27ba1d75c4083badc40b722b (diff) | |
download | pkgsrc-0e8103604d15e3de53f016c86248a5f758fcbafb.tar.gz |
Here are a couple of patches I submitted to the Sourceforge project
in June of this year, but for which I got no response.
1) Sourceforge PR #72673: Get the program name for the usage statement
in the most portable fashion possible, using argv.
2) Sourceforge PR #762825, which is a rework of PR #504855, by Adam
Lewandowski. Add a "table of contents" command, included a "+v"
option to dump absolutely all of the information in the par file.
Bump ${PKGREVISION}.
I think it's safe to say that this is the final release. The current
"par2", for version 2 parity files, is now backwards compatible with
the version 1 parity files that this program generates. It does not,
however, seem to have the cool "table of contents" feature.
Diffstat (limited to 'misc/parchive/patches/patch-ac')
-rw-r--r-- | misc/parchive/patches/patch-ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/misc/parchive/patches/patch-ac b/misc/parchive/patches/patch-ac new file mode 100644 index 00000000000..e6d1b5b49bd --- /dev/null +++ b/misc/parchive/patches/patch-ac @@ -0,0 +1,12 @@ +$NetBSD: patch-ac,v 1.1 2003/08/25 20:23:08 fredb Exp $ + +--- par.h.orig Sat Nov 17 14:08:19 2001 ++++ par.h +@@ -82,6 +82,7 @@ extern struct cmdline { + #define ACTION_ADD 11 /*\ Create a PAR archive ... \*/ + #define ACTION_ADDING 12 /*\ ... and add files to it. \*/ + #define ACTION_TEXT_UI 20 /*\ Interactive text interface \*/ ++#define ACTION_CONTENTS 21 /*\ List contents of PAR file \*/ + + #define PAR_MAGIC (*((i64 *)"PAR\0\0\0\0\0")) + #define IS_PAR(x) (((x).magic) == PAR_MAGIC) |