diff options
Diffstat (limited to 'devel/electron37/files/patch-ui_gfx_linux_gbm__wrapper.cc')
-rw-r--r-- | devel/electron37/files/patch-ui_gfx_linux_gbm__wrapper.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ui_gfx_linux_gbm__wrapper.cc b/devel/electron37/files/patch-ui_gfx_linux_gbm__wrapper.cc new file mode 100644 index 000000000000..33884ddcffc2 --- /dev/null +++ b/devel/electron37/files/patch-ui_gfx_linux_gbm__wrapper.cc @@ -0,0 +1,11 @@ +--- ui/gfx/linux/gbm_wrapper.cc.orig 2025-03-24 20:50:14 UTC ++++ ui/gfx/linux/gbm_wrapper.cc +@@ -318,7 +318,7 @@ class Device final : public ui::GbmDevice { + // of 1x1 BOs which are destroyed before creating the final BO creation used + // to instantiate the returned GbmBuffer. + gfx::Size size_for_verification = +-#if BUILDFLAG(IS_LINUX) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD) + gfx::Size(1, 1); + #else + requested_size; |