aboutsummaryrefslogtreecommitdiff
path: root/.patch/quazip/0002-oldstyle.patch
diff options
context:
space:
mode:
Diffstat (limited to '.patch/quazip/0002-oldstyle.patch')
-rw-r--r--.patch/quazip/0002-oldstyle.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/.patch/quazip/0002-oldstyle.patch b/.patch/quazip/0002-oldstyle.patch
new file mode 100644
index 0000000000..2694128f04
--- /dev/null
+++ b/.patch/quazip/0002-oldstyle.patch
@@ -0,0 +1,26 @@
+diff --git a/quazip/minizip_crypt.h b/quazip/minizip_crypt.h
+index 2e833f7..ea9d277 100644
+--- a/quazip/minizip_crypt.h
++++ b/quazip/minizip_crypt.h
+@@ -90,13 +90,14 @@ static void init_keys(const char* passwd,unsigned long* pkeys,const z_crc_t FAR
+ # define ZCR_SEED2 3141592654UL /* use PI as default pattern */
+ # endif
+
+-static int crypthead(passwd, buf, bufSize, pkeys, pcrc_32_tab, crcForCrypting)
+- const char *passwd; /* password string */
+- unsigned char *buf; /* where to write header */
+- int bufSize;
+- unsigned long* pkeys;
+- const z_crc_t FAR * pcrc_32_tab;
+- unsigned long crcForCrypting;
++static int crypthead(
++ const char *passwd, /* password string */
++ unsigned char *buf, /* where to write header */
++ int bufSize,
++ unsigned long* pkeys,
++ const z_crc_t FAR * pcrc_32_tab,
++ unsigned long crcForCrypting
++)
+ {
+ int n; /* index in random header */
+ int t; /* temporary */