pkgsrc/misc/parchive/patches/patch-ac
fredb 0e8103604d 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.
2003-08-25 20:23:06 +00:00

12 lines
483 B
Text

$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)