termux-packages/x11-packages/xorg-xvfb/xorg-server-1.20.1_xkb_ddxLoad.c.patch
Leonid Pliushch 2a807e88ba
xorg-xvfb: update to 1.20.1
Now 'xorg-xvfb' depends on libmesa + libdrm.
GLX extension is enabled too.
2022-04-18 14:08:06 +05:30

15 lines
499 B
Diff

diff -uNr xorg-server-1.20.1/xkb/ddxLoad.c xorg-server-1.20.1.mod/xkb/ddxLoad.c
--- xorg-server-1.20.1/xkb/ddxLoad.c 2018-08-07 19:31:06.000000000 +0300
+++ xorg-server-1.20.1.mod/xkb/ddxLoad.c 2018-09-11 23:52:17.501492794 +0300
@@ -76,8 +76,8 @@
}
else
#endif
- if (strlen("/tmp/") < size) {
- (void) strcpy(outdir, "/tmp/");
+ if (strlen("/data/data/com.termux/files/usr/tmp/") < size) {
+ (void) strcpy(outdir, "/data/data/com.termux/files/usr/tmp/");
}
}