diff -uNr xorg-server-1.20.1/hw/xfree86/common/xf86Config.c xorg-server-1.20.1.mod/hw/xfree86/common/xf86Config.c
--- xorg-server-1.20.1/hw/xfree86/common/xf86Config.c	2018-08-07 19:31:02.000000000 +0300
+++ xorg-server-1.20.1.mod/hw/xfree86/common/xf86Config.c	2018-10-08 21:07:16.807582583 +0300
@@ -106,7 +106,7 @@
 #define SYS_CONFIGDIRPATH	"%D/X11/%X"
 #endif
 #ifndef PROJECTROOT
-#define PROJECTROOT	"/usr/X11R6"
+#define PROJECTROOT	"@TERMUX_PREFIX@/X11R6"
 #endif
 
 static ModuleDefault ModuleDefaults[] = {
