From 338009c7ba33fb718d5d0256f6049d9e593f9464 Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sun, 17 Apr 2022 23:31:11 +0200 Subject: [PATCH] package/quazip: doesn't build with zlib-ng quazip doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of z_crc_t and FAR: https://github.com/zlib-ng/zlib-ng/commit/4db4cfdb5badc8860f7410732b12c45216d709b3 https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: /nvmedata/autobuild/instance-16/output-1/build/quazip-1.2/quazip/unzip.c:196:11: error: unknown type name 'z_crc_t' 196 | const z_crc_t FAR * pcrc_32_tab; | ^~~~~~~ Fixes: - http://autobuild.buildroot.org/results/02272c154ce58bacf0518dab5fc1ef0084121e1a Signed-off-by: Fabrice Fontaine Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/quazip/Config.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/package/quazip/Config.in b/package/quazip/Config.in index e980297558..a670ed458c 100644 --- a/package/quazip/Config.in +++ b/package/quazip/Config.in @@ -1,10 +1,13 @@ config BR2_PACKAGE_QUAZIP bool "quazip" + depends on BR2_PACKAGE_LIBZLIB depends on BR2_PACKAGE_QT5 - select BR2_PACKAGE_ZLIB help QuaZIP is a simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package that can be used to access ZIP archives. It uses the Qt toolkit. http://quazip.sourceforge.net + +comment "quazip needs libzlib" + depends on !BR2_PACKAGE_LIBZLIB