SHA256
3
0
forked from pool/zlib

Accepting request 961115 from home:adkorte

- Don't install (internal) crypt.h header in minizip

OBS-URL: https://build.opensuse.org/request/show/961115
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=73
This commit is contained in:
Danilo Spinella 2022-03-11 17:51:58 +00:00 committed by Git OBS Bridge
parent 9c94b73321
commit 6fd2806b77
3 changed files with 40 additions and 0 deletions

View File

@ -0,0 +1,32 @@
From e490ddad3091574a0c2e3b5a66a8fee9a7ab212f Mon Sep 17 00:00:00 2001
From: Pavel Raiskup <praiskup@redhat.com>
Date: Sun, 19 Feb 2017 16:42:12 +0100
Subject: [PATCH] minizip: don't install crypt.h
People did mistakenly or unintentionally include crypt.h before,
don't install this internal header from now.
---
contrib/minizip/Makefile.am | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/contrib/minizip/Makefile.am b/contrib/minizip/Makefile.am
index d343011eb..4f4661023 100644
--- a/contrib/minizip/Makefile.am
+++ b/contrib/minizip/Makefile.am
@@ -26,13 +26,15 @@ libminizip_la_LDFLAGS = $(AM_LDFLAGS) -version-info 1:0:0 -lz
minizip_includedir = $(includedir)/minizip
minizip_include_HEADERS = \
- crypt.h \
ioapi.h \
mztools.h \
unzip.h \
zip.h \
${iowin32_h}
+noinst_HEADERS = \
+ crypt.h
+
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = minizip.pc

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Fri Mar 11 17:38:09 UTC 2022 - Arjen de Korte <suse+build@de-korte.org>
- Don't install (internal) crypt.h header in minizip
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Nov 9 08:00:35 UTC 2020 - Ali Abdallah <ali.abdallah@suse.com> Mon Nov 9 08:00:35 UTC 2020 - Ali Abdallah <ali.abdallah@suse.com>

View File

@ -46,6 +46,8 @@ Patch7: bsc1174551-fxi-imcomplete-raw-streams.patch
Patch8: zlib-compression-switching.patch Patch8: zlib-compression-switching.patch
#PATCH-FIX-SUSE: bsc#1176201, sent upstream by IBM #PATCH-FIX-SUSE: bsc#1176201, sent upstream by IBM
Patch9: zlib-s390x-z15-fix-hw-compression.patch Patch9: zlib-s390x-z15-fix-hw-compression.patch
#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/229
Patch10: minizip-dont-install-crypt-header.patch
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: libtool BuildRequires: libtool
@ -140,6 +142,7 @@ It should exit 0
%patch7 -p1 %patch7 -p1
%patch8 -p1 %patch8 -p1
%patch9 -p1 %patch9 -p1
%patch10 -p1
cp %{SOURCE4} . cp %{SOURCE4} .
%build %build