From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id DC52B159C9B for ; Tue, 6 Aug 2024 11:32:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 17E162BC067; Tue, 6 Aug 2024 11:32:40 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EFF552BC067 for ; Tue, 6 Aug 2024 11:32:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C863A342FA5 for ; Tue, 6 Aug 2024 11:32:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1243E1E92 for ; Tue, 6 Aug 2024 11:32:37 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1722943370.bb9cdfdb5f4411cd1ba17e0f6a23ea7cb5acf20d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/webrtc-audio-processing/files/, media-libs/webrtc-audio-processing/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild X-VCS-Directories: media-libs/webrtc-audio-processing/ media-libs/webrtc-audio-processing/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bb9cdfdb5f4411cd1ba17e0f6a23ea7cb5acf20d X-VCS-Branch: master Date: Tue, 6 Aug 2024 11:32:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 12ea4d94-d430-4d94-83e8-c0609c46cedc X-Archives-Hash: 05510d92c539ea617344b6ad9857b7ea commit: bb9cdfdb5f4411cd1ba17e0f6a23ea7cb5acf20d Author: Sam James gentoo org> AuthorDate: Tue Aug 6 11:22:50 2024 +0000 Commit: Sam James gentoo org> CommitDate: Tue Aug 6 11:22:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb9cdfdb media-libs/webrtc-audio-processing: fix build w/ gcc-15 Closes: https://bugs.gentoo.org/937417 Signed-off-by: Sam James gentoo.org> ...webrtc-audio-processing-1.3-gcc15-cstdint.patch | 32 ++++++++++++++++++++++ .../webrtc-audio-processing-1.3-r3.ebuild | 1 + 2 files changed, 33 insertions(+) diff --git a/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch new file mode 100644 index 000000000000..1888fd964972 --- /dev/null +++ b/media-libs/webrtc-audio-processing/files/webrtc-audio-processing-1.3-gcc15-cstdint.patch @@ -0,0 +1,32 @@ +https://bugs.gentoo.org/937417 +https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/merge_requests/41 + +From 1d58a17f18bf81bde00ac7d206976fa3c11e66dc Mon Sep 17 00:00:00 2001 +From: Sergei Trofimovich +Date: Sat, 3 Aug 2024 06:48:30 +0100 +Subject: [PATCH] webrtc/api/task_queue/task_queue_base.h: add missing + include + +Without the change the build fails on upcoming `gcc-15` as: + + FAILED: webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o + g++ -Iwebrtc/rtc_base/liblibbase.a.p -Iwebrtc/rtc_base -I../webrtc/rtc_base -Iwebrtc -I../webrtc -I/nix/store/w2k6x9126cffd3db93bs4435krsbsz90-abseil-cpp-20240116.2/include -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -fPIC -DNOMINMAX -pthread -DWEBRTC_LIBRARY_IMPL -DWEBRTC_ENABLE_SYMBOL_EXPORT -DNDEBUG -DWEBRTC_POSIX -DWEBRTC_LINUX -DWEBRTC_THREAD_RR -DWEBRTC_ENABLE_AVX2 -MD -MQ webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o -MF webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o.d -o webrtc/rtc_base/liblibbase.a.p/platform_thread.cc.o -c ../webrtc/rtc_base/platform_thread.cc + In file included from ../webrtc/rtc_base/synchronization/sequence_checker.h:15, + from ../webrtc/rtc_base/thread_checker.h:17, + from ../webrtc/rtc_base/platform_thread.h:22, + from ../webrtc/rtc_base/platform_thread.cc:11: + ../webrtc/api/task_queue/task_queue_base.h:53:32: error: 'uint32_t' has not been declared + 53 | uint32_t milliseconds) = 0; + | ^~~~~~~~ +--- 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" +-- +GitLab diff --git a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild index 3c89d5d4bc21..fecb72dc5eec 100644 --- a/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild +++ b/media-libs/webrtc-audio-processing/webrtc-audio-processing-1.3-r3.ebuild @@ -23,6 +23,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.3-big-endian-support.patch" "${FILESDIR}/${PN}-1.3-x86-no-sse.patch" "${FILESDIR}/${PN}-1.3-musl.patch" + "${FILESDIR}/${PN}-1.3-gcc15-cstdint.patch" ) DOCS=( AUTHORS NEWS README.md )