ports/math/rstudio/patches/patch-src_cpp_session_SessionMain_cpp

15 lines
377 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
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