From 3bffe8ca4659fbca47dcc8fba0472fadcf659a51 Mon Sep 17 00:00:00 2001 From: James Addison Date: Fri, 17 Nov 2023 16:06:14 +0000 Subject: Manually re-apply diff: zip.h --- src/minizip/zip.h | 5 +++++ 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 -- cgit v1.2.3