aboutsummaryrefslogtreecommitdiff
path: root/repos/clang/firefox/ppc64-webrtc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'repos/clang/firefox/ppc64-webrtc.patch')
-rw-r--r--repos/clang/firefox/ppc64-webrtc.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/repos/clang/firefox/ppc64-webrtc.patch b/repos/clang/firefox/ppc64-webrtc.patch
new file mode 100644
index 00000000..98a1301c
--- /dev/null
+++ b/repos/clang/firefox/ppc64-webrtc.patch
@@ -0,0 +1,19 @@
+--- a/third_party/libwebrtc/moz.build
++++ b/third_party/libwebrtc/moz.build
+@@ -637,6 +637,16 @@
+ "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
+ ]
+
++if CONFIG["OS_TARGET"] == "Linux" and CONFIG["TARGET_CPU"] == "ppc64":
++
++ DIRS += [
++ "/third_party/libwebrtc/modules/portal/portal_gn",
++ "/third_party/libwebrtc/third_party/drm/drm_gn",
++ "/third_party/libwebrtc/third_party/gbm/gbm_gn",
++ "/third_party/libwebrtc/third_party/libepoxy/libepoxy_gn",
++ "/third_party/libwebrtc/third_party/pipewire/pipewire_gn"
++ ]
++
+ if CONFIG["OS_TARGET"] == "OpenBSD" and CONFIG["TARGET_CPU"] == "aarch64":
+
+ DIRS += [