termux-packages/x11-packages/putty/putty-0.70_unix_uxnet.c.patch
Leonid Pliushch 1eccf83490
new package: putty
A terminal integrated SSH/Telnet client.
2022-04-18 14:08:26 +05:30

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
/*