freebsd-ports/devel/RStudio/files/patch-src_cpp_session_SessionMain.cpp
Yuri Victorovich da2f3f630c devel/RStudio: Revert "feat(create-turbo): apply official-starter transform"
This reverts commit 52c0456dd5.

I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
2024-10-02 12:38:44 -07:00

14 lines
338 B
C++

--- src/cpp/session/SessionMain.cpp.orig 2022-12-03 07:38:59 UTC
+++ src/cpp/session/SessionMain.cpp
@@ -1947,7 +1947,11 @@ int main(int argc, char * const argv[])
// move to own process group
#ifndef _WIN32
+#if defined(__FreeBSD__)
+ ::setpgrp(0, 0);
+#else
::setpgrp();
+#endif
#endif
logStartingEnv();