mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
dev-qt/qtwebengine: backport webrtc build fix with pipewire-1.4
Same issue that chromium ran into wrt bug #951816 Bug: https://bugs.gentoo.org/951816 Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
19
dev-qt/qtwebengine/files/qtwebengine-6.8.3-pipewire1.4.patch
Normal file
19
dev-qt/qtwebengine/files/qtwebengine-6.8.3-pipewire1.4.patch
Normal file
@@ -0,0 +1,19 @@
|
||||
https://bugs.gentoo.org/951816
|
||||
https://issues.webrtc.org/issues/401732633
|
||||
https://webrtc-review.googlesource.com/c/src/+/380500
|
||||
--- a/src/3rdparty/chromium/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc
|
||||
+++ b/src/3rdparty/chromium/third_party/webrtc/modules/video_capture/linux/pipewire_session.cc
|
||||
@@ -61,5 +61,5 @@
|
||||
};
|
||||
|
||||
- pw_node_add_listener(proxy_, &node_listener_, &node_events, this);
|
||||
+ pw_node_add_listener(reinterpret_cast<pw_node*>(proxy_), &node_listener_, &node_events, this);
|
||||
}
|
||||
|
||||
@@ -95,5 +95,5 @@
|
||||
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<pw_node*>(that->proxy_), 0, id, 0, UINT32_MAX, nullptr);
|
||||
break;
|
||||
}
|
||||
@@ -113,6 +113,7 @@ PATCHES+=(
|
||||
"${FILESDIR}"/${PN}-6.8.2-cstdint.patch
|
||||
"${FILESDIR}"/${PN}-6.8.2-glibc2.41.patch
|
||||
"${FILESDIR}"/${PN}-6.8.3-clang20.patch
|
||||
"${FILESDIR}"/${PN}-6.8.3-pipewire1.4.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
|
||||
@@ -107,6 +107,7 @@ PATCHES=( "${WORKDIR}"/patches/${PN} )
|
||||
PATCHES+=(
|
||||
# add extras as needed here, may merge in set if carries across versions
|
||||
"${FILESDIR}"/${PN}-6.8.2-glibc2.41.patch
|
||||
"${FILESDIR}"/${PN}-6.8.3-pipewire1.4.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
|
||||
@@ -107,6 +107,7 @@ PATCHES=( "${WORKDIR}"/patches/${PN} )
|
||||
PATCHES+=(
|
||||
# add extras as needed here, may merge in set if carries across versions
|
||||
"${FILESDIR}"/${PN}-6.8.2-glibc2.41.patch
|
||||
"${FILESDIR}"/${PN}-6.8.3-pipewire1.4.patch
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
|
||||
Reference in New Issue
Block a user