From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9FB111581EE for ; Wed, 09 Apr 2025 03:45:03 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 86A2B33C84E for ; Wed, 09 Apr 2025 03:45:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 882411104B6; Wed, 09 Apr 2025 03:45:02 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 80A4D1104B6 for ; Wed, 09 Apr 2025 03:45:02 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 33D9A33F9FD for ; Wed, 09 Apr 2025 03:45:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BF6471EEA for ; Wed, 09 Apr 2025 03:45:00 +0000 (UTC) From: "Matt Jolly" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Jolly" Message-ID: <1744170190.b7cb7ed1d5174a7395628c9ea9f266fe8886aeca.kangie@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/files/, www-client/chromium/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-client/chromium/chromium-135.0.7049.52.ebuild www-client/chromium/files/chromium-135-webrtc-pipewire.patch X-VCS-Directories: www-client/chromium/files/ www-client/chromium/ X-VCS-Committer: kangie X-VCS-Committer-Name: Matt Jolly X-VCS-Revision: b7cb7ed1d5174a7395628c9ea9f266fe8886aeca X-VCS-Branch: master Date: Wed, 09 Apr 2025 03:45:00 +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: 9fa45f3e-3b03-48d5-b677-7a9738ee00e3 X-Archives-Hash: 296e4d59f92dc1a284ba00773a42a910 commit: b7cb7ed1d5174a7395628c9ea9f266fe8886aeca Author: Matt Jolly gentoo org> AuthorDate: Tue Apr 8 10:54:05 2025 +0000 Commit: Matt Jolly gentoo org> CommitDate: Wed Apr 9 03:43:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7cb7ed1 www-client/chromium: add webrtc pipewire 1.4 fix to current stable Signed-off-by: Matt Jolly gentoo.org> www-client/chromium/chromium-135.0.7049.52.ebuild | 1 + .../files/chromium-135-webrtc-pipewire.patch | 29 ++++++++++++++++++++++ 2 files changed, 30 insertions(+) diff --git a/www-client/chromium/chromium-135.0.7049.52.ebuild b/www-client/chromium/chromium-135.0.7049.52.ebuild index 00bcbe0f5e29..cc7b2ccbfc8e 100644 --- a/www-client/chromium/chromium-135.0.7049.52.ebuild +++ b/www-client/chromium/chromium-135.0.7049.52.ebuild @@ -411,6 +411,7 @@ src_prepare() { "${FILESDIR}/chromium-134-bindgen-custom-toolchain.patch" "${FILESDIR}/chromium-135-oauth2-client-switches.patch" "${FILESDIR}/chromium-135-map_droppable-glibc.patch" + "${FILESDIR}/chromium-135-webrtc-pipewire.patch" ) if use bundled-toolchain; then diff --git a/www-client/chromium/files/chromium-135-webrtc-pipewire.patch b/www-client/chromium/files/chromium-135-webrtc-pipewire.patch new file mode 100644 index 000000000000..c100643b69f0 --- /dev/null +++ b/www-client/chromium/files/chromium-135-webrtc-pipewire.patch @@ -0,0 +1,29 @@ +https://webrtc.googlesource.com/src/+/0a9787897f3d36055130b0532967d31c31e8408f + +Pipewire 1.4 changed some functions from taking void* +to taking the actual type they expect, which makes +some code that built with 1.2 no longer build with 1.4. + +For older versions, this is effectively a no-op. + +--- a/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc ++++ b/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc + +@@ -87,7 +87,7 @@ + .param = OnNodeParam, + }; + +- pw_node_add_listener(proxy_, &node_listener_, &node_events, this); ++ pw_node_add_listener(reinterpret_cast(proxy_), &node_listener_, &node_events, this); + } + + // static +@@ -119,7 +119,7 @@ + uint32_t id = info->params[i].id; + if (id == SPA_PARAM_EnumFormat && + info->params[i].flags & SPA_PARAM_INFO_READ) { +- pw_node_enum_params(that->proxy_, 0, id, 0, UINT32_MAX, nullptr); ++ pw_node_enum_params(reinterpret_cast(that->proxy_), 0, id, 0, UINT32_MAX, nullptr); + break; + } + }