From f7744aba7bcc7f4ad38ff4bba3d0c37969544fce Mon Sep 17 00:00:00 2001 From: Fabrice Fontaine Date: Sat, 23 Apr 2022 22:39:22 +0200 Subject: [PATCH] package/clamav: doesn't build with zlib-ng clamav doesn't build with zlib-ng since bump to version 1.9.9-b1 in commit 1f7b12a0b4572d7e763c431a63c22cfb912b8b14 and the removal of FAR: https://github.com/zlib-ng/zlib-ng/commit/0db1040667b13c0f9405af810f669857a487b08e: In file included from nsis/nsis_zlib.h:32, from nsis/nulsft.c:38: nsis/nsis_zutil.h:36:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'uchf' 36 | typedef uch FAR uchf; | ^~~~ Fixes: - http://autobuild.buildroot.org/results/524ee31face8be6a813829b036c4d6134ee5ca98 Signed-off-by: Fabrice Fontaine Signed-off-by: Yann E. MORIN --- package/clamav/Config.in | 1 + 1 file changed, 1 insertion(+) diff --git a/package/clamav/Config.in b/package/clamav/Config.in index 990a818b5c..2857f9cbf4 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -10,6 +10,7 @@ config BR2_PACKAGE_CLAMAV select BR2_PACKAGE_MUSL_FTS if !BR2_TOOLCHAIN_USES_GLIBC select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB + select BR2_PACKAGE_ZLIB_FORCE_LIBZLIB help ClamAV is an open source antivirus engine for detecting trojans, viruses, malware & other malicious threats.