summaryrefslogtreecommitdiff
path: root/archivers/libcomprex/files/patch-tests__extractarchive.c
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /archivers/libcomprex/files/patch-tests__extractarchive.c
parenteditors/fte: update to 20110708 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes: svn path=/head/; revision=363362
Diffstat (limited to 'archivers/libcomprex/files/patch-tests__extractarchive.c')
-rw-r--r--archivers/libcomprex/files/patch-tests__extractarchive.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/archivers/libcomprex/files/patch-tests__extractarchive.c b/archivers/libcomprex/files/patch-tests__extractarchive.c
new file mode 100644
index 000000000000..559dcb67af68
--- /dev/null
+++ b/archivers/libcomprex/files/patch-tests__extractarchive.c
@@ -0,0 +1,13 @@
+--- tests/extractarchive.c.orig Fri Dec 20 08:03:40 2002
++++ tests/extractarchive.c Mon Jun 23 13:16:14 2003
+@@ -37,7 +37,9 @@
+ void
+ __extractprogress(CxArchive *archive, CxFile *file, size_t onFile, size_t fileCount)
+ {
+- static int first_file = 0, last_file = 1;
++ static int first_file, last_file;
++ first_file = 0;
++ last_file = 1;
+ if (first_file++ == 0)
+ fprintf(stdout, "Extracting archive: %s\n", cxGetArchiveFileName(archive));
+