aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-electron_shell_browser_extensions_api_runtime_electron__runtime__api__delegate.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-electron_shell_browser_extensions_api_runtime_electron__runtime__api__delegate.cc')
-rw-r--r--devel/electron29/files/patch-electron_shell_browser_extensions_api_runtime_electron__runtime__api__delegate.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-electron_shell_browser_extensions_api_runtime_electron__runtime__api__delegate.cc b/devel/electron29/files/patch-electron_shell_browser_extensions_api_runtime_electron__runtime__api__delegate.cc
new file mode 100644
index 000000000000..91481f5ae73c
--- /dev/null
+++ b/devel/electron29/files/patch-electron_shell_browser_extensions_api_runtime_electron__runtime__api__delegate.cc
@@ -0,0 +1,11 @@
+--- electron/shell/browser/extensions/api/runtime/electron_runtime_api_delegate.cc.orig 2023-08-09 14:05:20 UTC
++++ electron/shell/browser/extensions/api/runtime/electron_runtime_api_delegate.cc
+@@ -55,6 +55,8 @@ bool ElectronRuntimeAPIDelegate::GetPlatformInfo(Platf
+ info->os = extensions::api::runtime::PlatformOs::kLinux;
+ } else if (strcmp(os, "openbsd") == 0) {
+ info->os = extensions::api::runtime::PlatformOs::kOpenbsd;
++ } else if (strcmp(os, "freebsd") == 0) {
++ info->os = extensions::api::runtime::PlatformOs::kFreebsd;
+ } else {
+ NOTREACHED();
+ return false;