diff options
author | James Addison <jay@jp-hosting.net> | 2023-11-17 16:06:14 +0000 |
---|---|---|
committer | James Addison <jay@jp-hosting.net> | 2023-11-17 16:26:36 +0000 |
commit | 3bffe8ca4659fbca47dcc8fba0472fadcf659a51 (patch) | |
tree | fbe1339c23b9af69da39a2725550b234cf530a98 | |
parent | c3407c59a11274efb3e137361a5e3fceb25a88ea (diff) |
Manually re-apply diff: zip.h
-rw-r--r-- | src/minizip/zip.h | 5 | ||||
-rw-r--r-- | src/minizip/zip.h.diff | 22 |
2 files changed, 10 insertions, 17 deletions
diff --git a/src/minizip/zip.h b/src/minizip/zip.h index 5fc0841..87fa5b9 100644 --- a/src/minizip/zip.h +++ b/src/minizip/zip.h @@ -313,6 +313,11 @@ extern int ZEXPORT zipWriteInFileInZip(zipFile file, Write data in the zipfile */ +extern int ZEXPORT zipFlush (zipFile file); +/* + Flush the zipfile output +*/ + extern int ZEXPORT zipCloseFileInZip(zipFile file); /* Close the current file in the zipfile diff --git a/src/minizip/zip.h.diff b/src/minizip/zip.h.diff index f17bddc..8c0725c 100644 --- a/src/minizip/zip.h.diff +++ b/src/minizip/zip.h.diff @@ -1,26 +1,14 @@ ---- zip.h.orig 2010-02-15 12:58:22.000000000 +0100 -+++ zip.h 2014-05-24 13:47:52.838188589 +0200 -@@ -144,6 +144,11 @@ - zipcharpc* globalcomment, - zlib_filefunc64_def* pzlib_filefunc_def)); - -+extern zipFile ZEXPORT zipOpen3 OF((const void *pathname, -+ int append, -+ zipcharpc* globalcomment, -+ zlib_filefunc64_32_def* pzlib_filefunc64_32_def)); -+ - extern int ZEXPORT zipOpenNewFileInZip OF((zipFile file, - const char* filename, - const zip_fileinfo* zipfi, -@@ -311,6 +316,11 @@ +--- zip.h.orig 2023-11-17 16:21:50.363864777 +0000 ++++ zip.h 2023-11-17 16:26:04.675858368 +0000 +@@ -313,6 +313,11 @@ Write data in the zipfile */ -+extern int ZEXPORT zipFlush OF((zipFile file)); ++extern int ZEXPORT zipFlush (zipFile file); +/* + Flush the zipfile output +*/ + - extern int ZEXPORT zipCloseFileInZip OF((zipFile file)); + extern int ZEXPORT zipCloseFileInZip(zipFile file); /* Close the current file in the zipfile |