From e96b7a0ef203ef2937a6fffe8bd9d8f3a9b58cb6 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Sun, 13 Sep 2026 18:28:30 +0200 Subject: [PATCH] package/usbguard: fix gcc version dependency after libabseil-cpp bump In commit 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0"), libabseil-cpp was bumped, which required the gcc >= 8.x dependency to be upgraded to a gcc >= 10.x dependency. This was properly done in package/protobuf as part of this commit, as protobuf is a reverse dependency of libabseil-cpp. However, usbguard, which is a reverse dependency of protobuf, was forgotten, and it no longer carries the correct gcc dependency. This commit fixes this issue. Fixes: 76241e89e1fa7a7b46e23d0a22c3d4fc11a2475c ("package/libabseil-cpp: bump to version 20260817.0") Signed-off-by: Thomas Petazzoni Signed-off-by: Julien Olivain --- package/usbguard/Config.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package/usbguard/Config.in b/package/usbguard/Config.in index 254209ff64..b71333aed9 100644 --- a/package/usbguard/Config.in +++ b/package/usbguard/Config.in @@ -3,7 +3,7 @@ config BR2_PACKAGE_USBGUARD depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf depends on BR2_INSTALL_LIBSTDCPP # protobuf depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf - depends on BR2_TOOLCHAIN_GCC_AT_LEAST_8 # protobuf, C++17 filesystem + depends on BR2_TOOLCHAIN_GCC_AT_LEAST_10 # protobuf depends on !BR2_STATIC_LIBS # libqb, protobuf depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future select BR2_PACKAGE_PROTOBUF @@ -18,9 +18,9 @@ config BR2_PACKAGE_USBGUARD https://usbguard.github.io/ -comment "usbguard needs a toolchain w/ C++, threads, dynamic library, gcc >= 8" +comment "usbguard needs a toolchain w/ C++, threads, dynamic library, gcc >= 10" depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \ - || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_8 + || BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_10 depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS comment "usbguard needs a toolchain not affected by GCC bug 64735"