diff options
| author | Martin Jansa <martin.jansa@gmail.com> | 2025-03-21 11:12:49 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-03-21 11:07:34 -0700 |
| commit | e6e2763c1b820e180111ffcdf805cb7b77c4c4bf (patch) | |
| tree | b04aba3b45944d218e6794f28cd1917b50415a65 | |
| parent | 5bca3a7b5dc75c6389b7538f16674a4d6ebcbc44 (diff) | |
| download | meta-openembedded-e6e2763c1b820e180111ffcdf805cb7b77c4c4bf.tar.gz | |
webrtc-audio-processing-1: fix build with gcc-15
* fixes:
http://errors.yoctoproject.org/Errors/Details/848476/
../webrtc-audio-processing-1.3/webrtc/api/task_queue/task_queue_base.h:53:32: error: 'uint32_t' has not been declared
53 | uint32_t milliseconds) = 0;
| ^~~~~~~~
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2 files changed, 31 insertions, 0 deletions
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1/0001-task_queue-fix-build-with-gcc-15.patch b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1/0001-task_queue-fix-build-with-gcc-15.patch new file mode 100644 index 0000000000..0f7e7a18ea --- /dev/null +++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1/0001-task_queue-fix-build-with-gcc-15.patch | |||
| @@ -0,0 +1,30 @@ | |||
| 1 | From d8ba62262265fac19804cf52f99488ed226c9c51 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Martin Jansa <martin.jansa@gmail.com> | ||
| 3 | Date: Fri, 21 Mar 2025 11:06:14 +0100 | ||
| 4 | Subject: [PATCH] task_queue: fix build with gcc-15 | ||
| 5 | |||
| 6 | * fixes: | ||
| 7 | http://errors.yoctoproject.org/Errors/Details/848476/ | ||
| 8 | ../webrtc-audio-processing-1.3/webrtc/api/task_queue/task_queue_base.h:53:32: error: 'uint32_t' has not been declared | ||
| 9 | 53 | uint32_t milliseconds) = 0; | ||
| 10 | | ^~~~~~~~ | ||
| 11 | |||
| 12 | Upstream-Status: Pending [uint32_t is no longer used here after "Bump to WebRTC M120 release" https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/commit/c6abf6cd3fbd688b111b339775cbd2d66d509ddc?page=2#66fd3af91f4a7b8a1dafa8180959efa4e32ac2f0] | ||
| 13 | |||
| 14 | Signed-off-by: Martin Jansa <martin.jansa@gmail.com> | ||
| 15 | --- | ||
| 16 | webrtc/api/task_queue/task_queue_base.h | 1 + | ||
| 17 | 1 file changed, 1 insertion(+) | ||
| 18 | |||
| 19 | diff --git a/webrtc/api/task_queue/task_queue_base.h b/webrtc/api/task_queue/task_queue_base.h | ||
| 20 | index 90b1efd..63526a7 100644 | ||
| 21 | --- a/webrtc/api/task_queue/task_queue_base.h | ||
| 22 | +++ b/webrtc/api/task_queue/task_queue_base.h | ||
| 23 | @@ -10,6 +10,7 @@ | ||
| 24 | #ifndef API_TASK_QUEUE_TASK_QUEUE_BASE_H_ | ||
| 25 | #define API_TASK_QUEUE_TASK_QUEUE_BASE_H_ | ||
| 26 | |||
| 27 | +#include <cstdint> | ||
| 28 | #include <memory> | ||
| 29 | |||
| 30 | #include "api/task_queue/queued_task.h" | ||
diff --git a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb index c56ca53f89..15ddcdb04e 100644 --- a/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb +++ b/meta-multimedia/recipes-multimedia/webrtc-audio-processing/webrtc-audio-processing-1_1.3.bb | |||
| @@ -12,6 +12,7 @@ SRC_URI = " \ | |||
| 12 | http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-${PV}.tar.xz \ | 12 | http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/webrtc-audio-processing-${PV}.tar.xz \ |
| 13 | file://0001-add-missing-header-for-musl.patch \ | 13 | file://0001-add-missing-header-for-musl.patch \ |
| 14 | file://0001-Fix-return-type-errors.patch \ | 14 | file://0001-Fix-return-type-errors.patch \ |
| 15 | file://0001-task_queue-fix-build-with-gcc-15.patch \ | ||
| 15 | " | 16 | " |
| 16 | SRC_URI[sha256sum] = "2365e93e778d7b61b5d6e02d21c47d97222e9c7deff9e1d0838ad6ec2e86f1b9" | 17 | SRC_URI[sha256sum] = "2365e93e778d7b61b5d6e02d21c47d97222e9c7deff9e1d0838ad6ec2e86f1b9" |
| 17 | S = "${WORKDIR}/webrtc-audio-processing-${PV}" | 18 | S = "${WORKDIR}/webrtc-audio-processing-${PV}" |
