Files
ports/math/rstudio/patches/patch-src_cpp_session_SessionMain_cpp
2022-03-11 19:36:11 +00:00

15 lines
377 B
Plaintext

From FreeBSD.
Index: src/cpp/session/SessionMain.cpp
--- src/cpp/session/SessionMain.cpp.orig
+++ src/cpp/session/SessionMain.cpp
@@ -1692,7 +1692,7 @@ int main (int argc, char * const argv[])
// move to own process group
#ifndef _WIN32
- ::setpgrp();
+ ::setpgrp(0, 0);
#endif
// get main thread id (used to distinguish forks which occur