termux-packages/x11-packages/putty/putty-0.70_unix_uxnet.c.patch

13 lines
361 B
Diff

diff -uNr putty-0.70/unix/uxnet.c putty-0.70.mod/unix/uxnet.c
--- putty-0.70/unix/uxnet.c 2017-07-04 22:30:56.000000000 +0300
+++ putty-0.70.mod/unix/uxnet.c 2018-10-05 20:12:44.594090518 +0300
@@ -30,7 +30,7 @@
#endif
#ifndef X11_UNIX_PATH
-# define X11_UNIX_PATH "/tmp/.X11-unix/X"
+# define X11_UNIX_PATH "@TERMUX_PREFIX@/tmp/.X11-unix/X"
#endif
/*