summaryrefslogtreecommitdiffstats
path: root/zlib-1.2.8-minizip-include.patch
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2016-03-30 17:29:18 -0500
committerYaakov Selkowitz <yselkowi@redhat.com>2016-03-30 17:29:18 -0500
commitcc3009e613f3e2c64bd047be05f8332c6042853d (patch)
treec1a03e1bd6f06e28452548e7e42286a0c9506cda /zlib-1.2.8-minizip-include.patch
parent18c708c3a6042a859865096a49fa7fdb6680bf6b (diff)
downloadcygwin-zlib-cc3009e613f3e2c64bd047be05f8332c6042853d.tar.gz
cygwin-zlib-cc3009e613f3e2c64bd047be05f8332c6042853d.tar.xz
cygwin-zlib-cc3009e613f3e2c64bd047be05f8332c6042853d.zip
Commit missing patches
Diffstat (limited to 'zlib-1.2.8-minizip-include.patch')
-rw-r--r--zlib-1.2.8-minizip-include.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/zlib-1.2.8-minizip-include.patch b/zlib-1.2.8-minizip-include.patch
new file mode 100644
index 0000000..e8afe95
--- /dev/null
+++ b/zlib-1.2.8-minizip-include.patch
@@ -0,0 +1,27 @@
+From 790c73ad93732d31ec6ae5ba4d7116d7f8fb46a2 Mon Sep 17 00:00:00 2001
+From: Kalev Lember <kalevlember@gmail.com>
+Date: Sat, 10 Aug 2013 14:54:04 +0200
+Subject: [PATCH] minizip: Add missing include
+
+Include zconf.h for z_crc_t, fixes a regression from commit
+63ba7582b80eb81b126c2931e485481c35596aab.
+---
+ contrib/minizip/crypt.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/contrib/minizip/crypt.h b/contrib/minizip/crypt.h
+index 1e9e820..835a2ba 100644
+--- a/contrib/minizip/crypt.h
++++ b/contrib/minizip/crypt.h
+@@ -27,6 +27,8 @@
+ Encryption is not supported.
+ */
+
++#include "zconf.h"
++
+ #define CRC32(c, b) ((*(pcrc_32_tab+(((int)(c) ^ (b)) & 0xff))) ^ ((c) >> 8))
+
+ /***********************************************************************
+--
+1.8.3.1
+