0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-27 06:18:57 +00:00
termux-packages/x11-packages/xwayland/xorg-server-1.20.1_os_osinit.c.patch
2024-05-29 07:25:16 +03:00

24 lines
474 B
Diff

--- a/os/osinit.c
+++ b/os/osinit.c
@@ -72,7 +72,7 @@ SOFTWARE.
#endif
#ifndef ADMPATH
-#define ADMPATH "/usr/adm/X%smsgs"
+#define ADMPATH "@TERMUX_PREFIX@/adm/X%smsgs"
#endif
#ifdef RLIMIT_DATA
@@ -264,11 +264,6 @@ OsInit(void)
}
#endif /* !XQUARTZ */
-#if !defined(WIN32) || defined(__CYGWIN__)
- if (getpgrp() == 0)
- setpgid(0, 0);
-#endif
-
#ifdef RLIMIT_DATA
if (limitDataSpace >= 0) {
struct rlimit rlim;