aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc')
-rw-r--r--devel/electron7/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc b/devel/electron7/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
new file mode 100644
index 000000000000..6cff8b8c974b
--- /dev/null
+++ b/devel/electron7/files/patch-extensions_shell_browser_api_runtime_shell__runtime__api__delegate.cc
@@ -0,0 +1,11 @@
+--- extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc.orig 2019-12-12 12:39:44 UTC
++++ extensions/shell/browser/api/runtime/shell_runtime_api_delegate.cc
+@@ -45,7 +45,7 @@ void ShellRuntimeAPIDelegate::OpenURL(const GURL& unin
+ bool ShellRuntimeAPIDelegate::GetPlatformInfo(PlatformInfo* info) {
+ #if defined(OS_CHROMEOS)
+ info->os = api::runtime::PLATFORM_OS_CROS;
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ info->os = api::runtime::PLATFORM_OS_LINUX;
+ #endif
+ return true;