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