aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h')
-rw-r--r--devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h b/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h
new file mode 100644
index 000000000000..7994b0589e4c
--- /dev/null
+++ b/devel/electron29/files/patch-chrome_browser_web__applications_os__integration_web__app__shortcut.h
@@ -0,0 +1,20 @@
+--- chrome/browser/web_applications/os_integration/web_app_shortcut.h.orig 2023-10-19 19:58:08 UTC
++++ chrome/browser/web_applications/os_integration/web_app_shortcut.h
+@@ -21,7 +21,7 @@
+ #include "ui/gfx/image/image_family.h"
+ #include "url/gurl.h"
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ #include "chrome/browser/web_applications/os_integration/web_app_shortcut_linux.h"
+ #endif // BUILDFLAG(IS_LINUX)
+
+@@ -70,7 +70,7 @@ struct ShortcutInfo {
+ std::set<std::string> file_handler_extensions;
+ std::set<std::string> file_handler_mime_types;
+ std::set<std::string> protocol_handlers;
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::set<DesktopActionInfo> actions;
+ #endif // BUILDFLAG(IS_LINUX)
+