diff options
Diffstat (limited to 'devel/electron30/files/patch-ui_gfx_native__widget__types.h')
-rw-r--r-- | devel/electron30/files/patch-ui_gfx_native__widget__types.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron30/files/patch-ui_gfx_native__widget__types.h b/devel/electron30/files/patch-ui_gfx_native__widget__types.h new file mode 100644 index 000000000000..4689eb13c678 --- /dev/null +++ b/devel/electron30/files/patch-ui_gfx_native__widget__types.h @@ -0,0 +1,20 @@ +--- ui/gfx/native_widget_types.h.orig 2024-02-21 00:21:15 UTC ++++ ui/gfx/native_widget_types.h +@@ -104,7 +104,7 @@ class SkBitmap; + + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) + extern "C" { + struct _AtkObject; + using AtkObject = struct _AtkObject; +@@ -220,7 +220,7 @@ using NativeViewAccessible = struct objc_object*; + #endif + // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch + // of lacros-chrome is complete. +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD) + // Linux doesn't have a native font type. + using NativeViewAccessible = AtkObject*; + #else |