From d5a45fd4436714dfef1afedc90b0522117b25356 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Fri, 29 Aug 2025 08:52:09 +0200 Subject: [PATCH] package/webrtc-audio-processing: fix build with GCC 15.x A missing include causes a build failure with GCC 15.x. There are no known autobuilder failures for this issue, but the following defconfig allows to reproduce the issue: BR2_arm=y BR2_cortex_a9=y BR2_ARM_ENABLE_VFP=y BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN=y BR2_INIT_NONE=y BR2_SYSTEM_BIN_SH_NONE=y # BR2_PACKAGE_BUSYBOX is not set BR2_PACKAGE_WEBRTC_AUDIO_PROCESSING=y # BR2_TARGET_ROOTFS_TAR is not set The affected code has completely changed in newer versions of webrtc-audio-processing, so we add a non-upstream patch, which can be dropped once we upgrade to a newer release. Signed-off-by: Thomas Petazzoni Signed-off-by: Peter Korsgaard --- ...queue-task_queue_base.h-include-cstd.patch | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 package/webrtc-audio-processing/0001-webrtc-api-task_queue-task_queue_base.h-include-cstd.patch diff --git a/package/webrtc-audio-processing/0001-webrtc-api-task_queue-task_queue_base.h-include-cstd.patch b/package/webrtc-audio-processing/0001-webrtc-api-task_queue-task_queue_base.h-include-cstd.patch new file mode 100644 index 0000000000..db253d1dd8 --- /dev/null +++ b/package/webrtc-audio-processing/0001-webrtc-api-task_queue-task_queue_base.h-include-cstd.patch @@ -0,0 +1,29 @@ +From 9b59846b4f9a723743532f26c344d84084b7af96 Mon Sep 17 00:00:00 2001 +From: Thomas Petazzoni +Date: Fri, 29 Aug 2025 07:31:50 +0200 +Subject: [PATCH] webrtc/api/task_queue/task_queue_base.h: include + for uint32_t + +This is needed since GCC 15.x. + +Upstream: not applicable, code has completely changed in latest versions +Signed-off-by: Thomas Petazzoni +--- + webrtc/api/task_queue/task_queue_base.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/webrtc/api/task_queue/task_queue_base.h b/webrtc/api/task_queue/task_queue_base.h +index 90b1efd..7403ee9 100644 +--- a/webrtc/api/task_queue/task_queue_base.h ++++ b/webrtc/api/task_queue/task_queue_base.h +@@ -11,6 +11,7 @@ + #define API_TASK_QUEUE_TASK_QUEUE_BASE_H_ + + #include ++#include + + #include "api/task_queue/queued_task.h" + #include "rtc_base/system/rtc_export.h" +-- +2.50.1 +