From 601d7f32059066ac229d4efbd9179790ccc57b0f Mon Sep 17 00:00:00 2001 From: Prateek Chokse Date: Thu, 24 Mar 2022 00:53:34 +0530 Subject: [PATCH] [minizip-ng] Updated minizip version and fixed windows build for previous version (#23684) * [minizip-ng] fix: in windows only compat symbols were exposed * [minzip-ng] updated version * [minzip-ng] updated baseline and versions * Add vcpkg_check_linkage * update version Co-authored-by: prateek.chokse Co-authored-by: Jonliu1993 <13720414433@163.com> --- ports/minizip-ng/portfile.cmake | 8 ++++++-- ports/minizip-ng/vcpkg.json | 3 +-- versions/baseline.json | 4 ++-- versions/m-/minizip-ng.json | 5 +++++ 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/ports/minizip-ng/portfile.cmake b/ports/minizip-ng/portfile.cmake index 9faecfc489..8dac2781ff 100644 --- a/ports/minizip-ng/portfile.cmake +++ b/ports/minizip-ng/portfile.cmake @@ -1,8 +1,12 @@ +if (VCPKG_TARGET_IS_WINDOWS) + vcpkg_check_linkage(ONLY_STATIC_LIBRARY) +endif() + vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO zlib-ng/minizip-ng - REF 3.0.2 - SHA512 eee4d35d273ab0a32972b119c8faabd8c242e2d9f506fab0dd21fdd24c78b932c01bf7f15e9cf7c452776fc4c2e27a5ff09e376adb7a706336d11114929182fc + REF 3.0.5 + SHA512 da0c230951caafd986331300b840d09a4c27a677183174f8b1782c2515209b51cf00133dd5fc5f9fc88a349134db7f93d3daa7c05b7d0270be99b9cf85a6c133 HEAD_REF master PATCHES Modify-header-file-path.patch diff --git a/ports/minizip-ng/vcpkg.json b/ports/minizip-ng/vcpkg.json index eeab4ef8e8..a8e6801342 100644 --- a/ports/minizip-ng/vcpkg.json +++ b/ports/minizip-ng/vcpkg.json @@ -1,7 +1,6 @@ { "name": "minizip-ng", - "version": "3.0.2", - "port-version": 1, + "version": "3.0.5", "description": "minizip-ng is a zip manipulation library written in C that is supported on Windows, macOS, and Linux.", "homepage": "https://github.com/zlib-ng/minizip-ng", "supports": "!uwp", diff --git a/versions/baseline.json b/versions/baseline.json index c85e43335a..6bedc944d2 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -4513,8 +4513,8 @@ "port-version": 10 }, "minizip-ng": { - "baseline": "3.0.2", - "port-version": 1 + "baseline": "3.0.5", + "port-version": 0 }, "mio": { "baseline": "2019-02-10", diff --git a/versions/m-/minizip-ng.json b/versions/m-/minizip-ng.json index e71ee7e332..e63af534dc 100644 --- a/versions/m-/minizip-ng.json +++ b/versions/m-/minizip-ng.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "36ef459c57047fcfc0ddbfc97d7360d7307acb24", + "version": "3.0.5", + "port-version": 0 + }, { "git-tree": "4a8de7f8609b758c48eea13b67d47c22efc832a3", "version": "3.0.2",