aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-build_config_ozone.gni
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-build_config_ozone.gni')
-rw-r--r--devel/electron29/files/patch-build_config_ozone.gni19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-build_config_ozone.gni b/devel/electron29/files/patch-build_config_ozone.gni
new file mode 100644
index 000000000000..917f5aa3c178
--- /dev/null
+++ b/devel/electron29/files/patch-build_config_ozone.gni
@@ -0,0 +1,19 @@
+--- build/config/ozone.gni.orig 2023-10-19 19:57:59 UTC
++++ build/config/ozone.gni
+@@ -84,7 +84,15 @@ declare_args() {
+ } else if (is_chromeos_lacros) {
+ ozone_platform = "wayland"
+ ozone_platform_wayland = true
+- } else if (is_linux) {
++ } else if (is_linux && !is_bsd) {
++ ozone_platform = "x11"
++ ozone_platform_wayland = true
++ ozone_platform_x11 = true
++ } else if (is_openbsd) {
++ ozone_platform = "x11"
++ ozone_platform_wayland = false
++ ozone_platform_x11 = true
++ } else if (is_freebsd) {
+ ozone_platform = "x11"
+ ozone_platform_wayland = true
+ ozone_platform_x11 = true