minizip: don't include zconf.h in crypt.h
Related: rhbz#985344 Version: 1.2.11-1
This commit is contained in:
parent
e5ba4cc42a
commit
737073327a
@ -1,27 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
@ -8,14 +8,12 @@ Group: System Environment/Libraries
|
|||||||
URL: http://www.zlib.net/
|
URL: http://www.zlib.net/
|
||||||
Source: http://www.zlib.net/zlib-%{version}.tar.xz
|
Source: http://www.zlib.net/zlib-%{version}.tar.xz
|
||||||
|
|
||||||
|
# https://github.com/madler/zlib/pull/210
|
||||||
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
|
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
|
||||||
# resolves: #805113
|
# resolves: #805113
|
||||||
Patch1: zlib-1.2.7-optimized-s390.patch
|
Patch1: zlib-1.2.7-optimized-s390.patch
|
||||||
# resolves: #844791
|
# resolves: #844791
|
||||||
Patch2: zlib-1.2.7-z-block-flush.patch
|
Patch2: zlib-1.2.7-z-block-flush.patch
|
||||||
# resolves: #985344
|
|
||||||
# http://mail.madler.net/pipermail/zlib-devel_madler.net/2013-August/003081.html
|
|
||||||
Patch3: zlib-1.2.8-minizip-include.patch
|
|
||||||
|
|
||||||
BuildRequires: automake, autoconf, libtool
|
BuildRequires: automake, autoconf, libtool
|
||||||
|
|
||||||
@ -69,7 +67,6 @@ developing applications which use minizip.
|
|||||||
%patch1 -p1 -b .optimized-deflate
|
%patch1 -p1 -b .optimized-deflate
|
||||||
%endif
|
%endif
|
||||||
%patch2 -p1 -b .z-flush
|
%patch2 -p1 -b .z-flush
|
||||||
%patch3 -p1 -b .minizip_include
|
|
||||||
iconv -f iso-8859-2 -t utf-8 < ChangeLog > ChangeLog.tmp
|
iconv -f iso-8859-2 -t utf-8 < ChangeLog > ChangeLog.tmp
|
||||||
mv ChangeLog.tmp ChangeLog
|
mv ChangeLog.tmp ChangeLog
|
||||||
|
|
||||||
@ -146,6 +143,7 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
|||||||
* Tue Jan 24 2017 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-1
|
* Tue Jan 24 2017 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-1
|
||||||
- latest upstream release (rhbz#1409372)
|
- latest upstream release (rhbz#1409372)
|
||||||
- cleanup rpmlint
|
- cleanup rpmlint
|
||||||
|
- revert fix for rhbz#985344
|
||||||
|
|
||||||
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user