$OpenBSD: patch-third_party_webrtc_webrtc_gni,v 1.5 2019/04/17 11:48:55 robert Exp $

Index: third_party/webrtc/webrtc.gni
--- third_party/webrtc/webrtc.gni.orig
+++ third_party/webrtc/webrtc.gni
@@ -238,7 +238,7 @@ rtc_opus_dir = "//third_party/opus"
 
 # Desktop capturer is supported only on Windows, OSX and Linux.
 rtc_desktop_capture_supported = (is_win && current_os != "winuwp") || is_mac ||
-                                (is_linux && (rtc_use_x11 || rtc_use_pipewire))
+                                ((is_linux && !is_openbsd) && (rtc_use_x11 || rtc_use_pipewire))
 
 ###############################################################################
 # Templates
