summaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-electron_lib_browser_api_app.ts
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /devel/electron7/files/patch-electron_lib_browser_api_app.ts
parentNew port: math/py-optuna: A hyperparameter optimization framework (diff)
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed With hat: portmgr
Diffstat (limited to 'devel/electron7/files/patch-electron_lib_browser_api_app.ts')
-rw-r--r--devel/electron7/files/patch-electron_lib_browser_api_app.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-electron_lib_browser_api_app.ts b/devel/electron7/files/patch-electron_lib_browser_api_app.ts
new file mode 100644
index 000000000000..a0f67a9157c0
--- /dev/null
+++ b/devel/electron7/files/patch-electron_lib_browser_api_app.ts
@@ -0,0 +1,11 @@
+--- electron/lib/browser/api/app.ts.orig 2020-03-24 05:00:48 UTC
++++ electron/lib/browser/api/app.ts
+@@ -67,7 +67,7 @@ if (process.platform === 'darwin') {
+ app.dock!.getMenu = () => dockMenu;
+ }
+
+-if (process.platform === 'linux') {
++if (process.platform === 'linux' || process.platform === 'freebsd') {
+ const patternVmRSS = /^VmRSS:\s*(\d+) kB$/m;
+ const patternVmHWM = /^VmHWM:\s*(\d+) kB$/m;
+