termux-packages/x11-packages/xorg-server/xorg-server-1.20.1_os_osinit.c.patch
2022-04-18 14:50:30 +05:30

13 lines
380 B
Diff

diff -uNr xorg-server-1.20.1/os/osinit.c xorg-server-1.20.1.mod/os/osinit.c
--- xorg-server-1.20.1/os/osinit.c 2018-08-07 19:31:05.000000000 +0300
+++ xorg-server-1.20.1.mod/os/osinit.c 2018-10-08 21:07:16.840931406 +0300
@@ -72,7 +72,7 @@
#endif
#ifndef ADMPATH
-#define ADMPATH "/usr/adm/X%smsgs"
+#define ADMPATH "@TERMUX_PREFIX@/adm/X%smsgs"
#endif
#ifdef RLIMIT_DATA