2021-08-26 18:51:12 +02:00
|
|
|
diff -uNr xorg-server-1.20.1/os/access.c xorg-server-1.20.1.mod/os/access.c
|
|
|
|
--- xorg-server-1.20.1/os/access.c 2018-08-07 19:31:05.000000000 +0300
|
|
|
|
+++ xorg-server-1.20.1.mod/os/access.c 2018-10-08 21:07:16.834261640 +0300
|
|
|
|
@@ -961,7 +961,7 @@
|
|
|
|
#if defined WIN32 && defined __MINGW32__
|
|
|
|
#define ETC_HOST_PREFIX "X"
|
|
|
|
#else
|
|
|
|
-#define ETC_HOST_PREFIX "/etc/X"
|
2022-04-05 06:48:20 +02:00
|
|
|
+#define ETC_HOST_PREFIX "@TERMUX_PREFIX@/etc/X"
|
2021-08-26 18:51:12 +02:00
|
|
|
#endif
|
|
|
|
#define ETC_HOST_SUFFIX ".hosts"
|
|
|
|
fnamelen = strlen(ETC_HOST_PREFIX) + strlen(ETC_HOST_SUFFIX) +
|