ports/www/ungoogled-chromium/patches/patch-ui_gfx_switches_h

13 lines
507 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: ui/gfx/switches.h
--- ui/gfx/switches.h.orig
+++ ui/gfx/switches.h
2024-05-20 13:42:05 +00:00
@@ -19,7 +19,7 @@ GFX_SWITCHES_EXPORT extern const char kForcePrefersRed
GFX_SWITCHES_EXPORT extern const char kForcePrefersNoReducedMotion[];
2023-08-16 22:26:55 +00:00
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