1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00
freebsd-ports/devel/electron5/files/patch-base_process_kill__posix.cc
Hiroki Tagato cd8d0f3e03 - Add new port devel/electron5
- This is in preparation for the upcoming editors/atom update
- devel/electron4 will be kept because I'm planning to port an app depending on it

Approved by:	ehaupt (mentor)
2020-05-24 09:13:34 +00:00

12 lines
394 B
C++

--- base/process/kill_posix.cc.orig 2019-04-08 08:18:04 UTC
+++ base/process/kill_posix.cc
@@ -168,7 +168,7 @@ void EnsureProcessTerminated(Process process) {
0, new BackgroundReaper(std::move(process), TimeDelta::FromSeconds(2)));
}
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
void EnsureProcessGetsReaped(Process process) {
DCHECK(!process.is_current());