termux-packages/x11-packages/xorg-xvfb/xorg-server-1.20.1_os_connection.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

13 lines
635 B
Diff

diff -uNr xorg-server-1.20.1/os/connection.c xorg-server-1.20.1.mod/os/connection.c
--- xorg-server-1.20.1/os/connection.c 2018-08-07 19:31:05.000000000 +0300
+++ xorg-server-1.20.1.mod/os/connection.c 2018-09-11 23:52:17.494826075 +0300
@@ -996,7 +996,7 @@
XtransConnInfo ciptr;
const char *display_env = getenv("DISPLAY");
- if (display_env && (strncmp(display_env, "/tmp/launch", 11) == 0)) {
+ if (display_env && (strncmp(display_env, "/data/data/com.termux/files/usr/tmp/launch", 11) == 0)) {
/* Make the path the launchd socket if our DISPLAY is set right */
strcpy(port, display_env);
}