summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-content_gpu_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-content_gpu_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-content_gpu_BUILD.gn11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-content_gpu_BUILD.gn b/devel/electron13/files/patch-content_gpu_BUILD.gn
new file mode 100644
index 000000000000..c79a3590d3be
--- /dev/null
+++ b/devel/electron13/files/patch-content_gpu_BUILD.gn
@@ -0,0 +1,11 @@
+--- content/gpu/BUILD.gn.orig 2021-04-14 01:08:48 UTC
++++ content/gpu/BUILD.gn
+@@ -137,7 +137,7 @@ target(link_target_type, "gpu_sources") {
+ # Use DRI on desktop Linux builds.
+ if (current_cpu != "s390x" && current_cpu != "ppc64" &&
+ (is_linux || is_chromeos_lacros) &&
+- (!is_chromecast || is_cast_desktop_build)) {
++ (!is_chromecast || is_cast_desktop_build) && !is_bsd) {
+ configs += [ "//build/config/linux/dri" ]
+ }
+ }