package/clamav: add missing BR2_TOOLCHAIN_HAS_SYNC_4 dependency
PATCH 1/1 package/clamav: add missing BR2_TOOLCHAIN_HAS_SYNC_4 dependency
In commit 203725a46bc6b61ed7e4fdb3d76f62327d3e47fa ("package/clamav:
bump version to 1.0.1"), select BR2_PACKAGE_JSON_C was added to BR2_PACKAGE_CLAMAV without propagating the BR2_TOOLCHAIN_HAS_SYNC_4 dependency from BR2_PACKAGE_JSON_C.
Since at the same time a dependency on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS was added to clamav and Rust is not supported on the few architectures that don't have 4-byte sync intrinsics, this has basically no effect, but ensure a correct propagation of dependencies.
--- package/clamav/Config.in | 2 ++ 1 file changed, 2 insertions(+)
package/clamav/Config.in +2 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_CLAMAV depends on BR2_USE_MMU # fork() depends on !BR2_STATIC_LIBS # dlopen depends on BR2_USE_WCHAR + depends on BR2_TOOLCHAIN_HAS_SYNC_4 # json-c select BR2_PACKAGE_BZIP2 select BR2_PACKAGE_HOST_RUSTC select BR2_PACKAGE_JSON_C
@@ -29,3 +30,4 @@ comment "clamav needs a toolchain w/ C++, dynamic library, threads, wchar" || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR depends on BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTS depends on BR2_USE_MMU + depends on BR2_TOOLCHAIN_HAS_SYNC_4
Signature · 6 lines
2.55.0 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 5 lines · Thomas Petazzoni via buildroot
In commit
203725a46bc6b61ed7e4fdb3d76f62327d3e47fa("package/clamav:
bump version to 1.0.1"), selectBR2_PACKAGE_JSON_Cwas added toBR2_PACKAGE_CLAMAVwithout propagating theBR2_TOOLCHAIN_HAS_SYNC_4dependency fromBR2_PACKAGE_JSON_C.
Quoted 8 lines
Since at the same time a dependency on
BR2_PACKAGE_HOST_RUSTC_TARGET_ARCH_SUPPORTSwas added to clamav and Rust is not supported on the few architectures that don't have 4-byte sync intrinsics, this has basically no effect, but ensure a correct propagation of dependencies.Fixes 203725a46bc6b61ed7e4fdb3d76f62327d3e47fa ("package/clamav: bump version to 1.0.1")Signed-off-by Thomas Petazzoni <[email protected]>
Applied to master, thanks.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot