termux-packages/x11-packages/xorg-xvfb/xorg-server-1.19.1_hw_xfree86_parser_scan.c.patch
2022-04-18 14:08:05 +05:30

13 lines
516 B
Diff

diff -uNr xorg-server-1.19.1/hw/xfree86/parser/scan.c xorg-server-1.19.1.mod/hw/xfree86/parser/scan.c
--- xorg-server-1.19.1/hw/xfree86/parser/scan.c 2017-01-04 23:32:10.000000000 +0200
+++ xorg-server-1.19.1.mod/hw/xfree86/parser/scan.c 2017-11-24 18:44:44.662683772 +0200
@@ -552,7 +552,7 @@
#define XCONFIGSUFFIX ".conf"
#endif
#ifndef PROJECTROOT
-#define PROJECTROOT "/usr/X11R6"
+#define PROJECTROOT "/data/data/com.termux/files/usr/X11R6"
#endif
#ifndef SYSCONFDIR
#define SYSCONFDIR PROJECTROOT "/etc"