[Buildroot] [PATCH 1/1] package/quazip: doesn't build with zlib-ng

Arnout Vandecappelle arnout at mind.be
Thu Apr 21 20:56:48 UTC 2022



On 17/04/2022 23:31, Fabrice Fontaine wrote:
> 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 <fontaine.fabrice at gmail.com>

  Applied to master, thanks.

> ---
>   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

  Perhaps we should have something like with force-openssl, to be able to still 
select zlib. Yann, what do you think?

  Regards,
  Arnout



More information about the buildroot mailing list