summaryrefslogtreecommitdiff
path: root/devel/electron5/files/patch-base_process_launch.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron5/files/patch-base_process_launch.h')
-rw-r--r--devel/electron5/files/patch-base_process_launch.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron5/files/patch-base_process_launch.h b/devel/electron5/files/patch-base_process_launch.h
new file mode 100644
index 000000000000..acc8bd6739e9
--- /dev/null
+++ b/devel/electron5/files/patch-base_process_launch.h
@@ -0,0 +1,20 @@
+--- base/process/launch.h.orig 2019-04-08 08:32:37 UTC
++++ base/process/launch.h
+@@ -175,7 +175,7 @@ struct BASE_EXPORT LaunchOptions {
+ FileHandleMappingVector fds_to_remap;
+ #endif // defined(OS_WIN)
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // If non-zero, start the process using clone(), using flags as provided.
+ // Unlike in clone, clone_flags may not contain a custom termination signal
+ // that is sent to the parent when the child dies. The termination signal will
+@@ -188,7 +188,7 @@ struct BASE_EXPORT LaunchOptions {
+
+ // Sets parent process death signal to SIGKILL.
+ bool kill_on_parent_death = false;
+-#endif // defined(OS_LINUX)
++#endif // defined(OS_LINUX) || defined(OS_BSD)
+
+ #if defined(OS_FUCHSIA)
+ // If valid, launches the application in that job object.