bump REVISION 3
This commit is contained in:
parent
53f5d68c47
commit
aa902ba334
2 changed files with 17 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
COMMENT= create/update ZIP files compatible with PKZip(tm)
|
||||
|
||||
VERSION= 3.0
|
||||
REVISION= 2
|
||||
REVISION= 3
|
||||
DISTNAME= zip${VERSION:S/.//}
|
||||
PKGNAME= zip-${VERSION}
|
||||
|
||||
|
|
16
archivers/zip/patches/patch-zipnote_c
Normal file
16
archivers/zip/patches/patch-zipnote_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
Fix applying edits via zipnote. From upstream, at least according to
|
||||
|
||||
https://www.linuxquestions.org/questions/linux-software-2/problems-with-zipnote-writing-to-files-4175502552/
|
||||
|
||||
Index: zipnote.c
|
||||
--- zipnote.c.orig
|
||||
+++ zipnote.c
|
||||
@@ -661,7 +661,7 @@ char **argv; /* command line tokens */
|
||||
if ((r = zipcopy(z)) != ZE_OK)
|
||||
ziperr(r, "was copying an entry");
|
||||
}
|
||||
- fclose(x);
|
||||
+ fclose(in_file);
|
||||
|
||||
/* Write central directory and end of central directory with new comments */
|
||||
if ((c = zftello(y)) == (zoff_t)-1) /* get start of central */
|
Loading…
Add table
Add a link
Reference in a new issue