aboutsummaryrefslogtreecommitdiff
path: root/devel/electron7/files/patch-content_public_common_child__process__host.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron7/files/patch-content_public_common_child__process__host.h')
-rw-r--r--devel/electron7/files/patch-content_public_common_child__process__host.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron7/files/patch-content_public_common_child__process__host.h b/devel/electron7/files/patch-content_public_common_child__process__host.h
new file mode 100644
index 000000000000..b1e38eb56a18
--- /dev/null
+++ b/devel/electron7/files/patch-content_public_common_child__process__host.h
@@ -0,0 +1,11 @@
+--- content/public/common/child_process_host.h.orig 2019-12-12 12:39:41 UTC
++++ content/public/common/child_process_host.h
+@@ -52,7 +52,7 @@ class CONTENT_EXPORT ChildProcessHost : public IPC::Se
+ // No special behavior requested.
+ CHILD_NORMAL = 0,
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // Indicates that the child execed after forking may be execced from
+ // /proc/self/exe rather than using the "real" app path. This prevents
+ // autoupdate from confusing us if it changes the file out from under us.