summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-ui_gfx_switches.h
diff options
context:
space:
mode:
Diffstat (limited to 'www/iridium/files/patch-ui_gfx_switches.h')
-rw-r--r--www/iridium/files/patch-ui_gfx_switches.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/www/iridium/files/patch-ui_gfx_switches.h b/www/iridium/files/patch-ui_gfx_switches.h
new file mode 100644
index 000000000000..8c72b6c6cad9
--- /dev/null
+++ b/www/iridium/files/patch-ui_gfx_switches.h
@@ -0,0 +1,11 @@
+--- ui/gfx/switches.h.orig 2022-03-28 18:11:04 UTC
++++ ui/gfx/switches.h
+@@ -17,7 +17,7 @@ GFX_SWITCHES_EXPORT extern const char kEnableNativeGpu
+ GFX_SWITCHES_EXPORT extern const char kForcePrefersReducedMotion[];
+ GFX_SWITCHES_EXPORT extern const char kHeadless[];
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ GFX_SWITCHES_EXPORT extern const char kX11Display[];
+ GFX_SWITCHES_EXPORT extern const char kNoXshm[];
+ #endif