2019-05-18 23:55:54 +02:00
|
|
|
diff -uNr xtrans-1.4.0/Xtranslcl.c xtrans-1.4.0.mod/Xtranslcl.c
|
|
|
|
--- xtrans-1.4.0/Xtranslcl.c 2019-03-16 23:30:31.000000000 +0200
|
|
|
|
+++ xtrans-1.4.0.mod/Xtranslcl.c 2019-05-19 00:54:20.390433328 +0300
|
2018-09-10 00:42:26 +02:00
|
|
|
@@ -250,7 +250,7 @@
|
|
|
|
#ifndef X11_t
|
|
|
|
#define X_STREAMS_DIR "/dev/X"
|
|
|
|
#else
|
|
|
|
-#define X_STREAMS_DIR "/tmp/.X11-pipe"
|
2019-05-18 23:55:54 +02:00
|
|
|
+#define X_STREAMS_DIR "@TERMUX_PREFIX@/tmp/.X11-pipe"
|
2018-09-10 00:42:26 +02:00
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
@@ -260,7 +260,7 @@
|
|
|
|
|
|
|
|
#define PTSNODENAME "/dev/X/server."
|
2019-05-18 23:55:54 +02:00
|
|
|
#ifdef __sun
|
2018-09-10 00:42:26 +02:00
|
|
|
-#define NAMEDNODENAME "/tmp/.X11-pipe/X"
|
2019-05-18 23:55:54 +02:00
|
|
|
+#define NAMEDNODENAME "@TERMUX_PREFIX@/tmp/.X11-pipe/X"
|
2018-09-10 00:42:26 +02:00
|
|
|
#else
|
|
|
|
#define NAMEDNODENAME "/dev/X/Nserver."
|
|
|
|
|
|
|
|
@@ -270,7 +270,7 @@
|
|
|
|
#endif
|
|
|
|
#if defined(XIM_t)
|
2019-05-18 23:55:54 +02:00
|
|
|
#ifdef __sun
|
2018-09-10 00:42:26 +02:00
|
|
|
-#define NAMEDNODENAME "/tmp/.XIM-pipe/XIM"
|
2019-05-18 23:55:54 +02:00
|
|
|
+#define NAMEDNODENAME "@TERMUX_PREFIX@/tmp/.XIM-pipe/XIM"
|
2018-09-10 00:42:26 +02:00
|
|
|
#else
|
|
|
|
#define PTSNODENAME "/dev/X/XIM."
|
|
|
|
#define NAMEDNODENAME "/dev/X/NXIM."
|
|
|
|
@@ -280,7 +280,7 @@
|
|
|
|
#endif
|
|
|
|
#if defined(FS_t) || defined (FONT_t)
|
2019-05-18 23:55:54 +02:00
|
|
|
#ifdef __sun
|
2018-09-10 00:42:26 +02:00
|
|
|
-#define NAMEDNODENAME "/tmp/.font-pipe/fs"
|
2019-05-18 23:55:54 +02:00
|
|
|
+#define NAMEDNODENAME "@TERMUX_PREFIX@/tmp/.font-pipe/fs"
|
2018-09-10 00:42:26 +02:00
|
|
|
#else
|
|
|
|
/*
|
|
|
|
* USL has already defined something here. We need to check with them
|
|
|
|
@@ -294,7 +294,7 @@
|
|
|
|
#endif
|
|
|
|
#if defined(ICE_t)
|
2019-05-18 23:55:54 +02:00
|
|
|
#ifdef __sun
|
2018-09-10 00:42:26 +02:00
|
|
|
-#define NAMEDNODENAME "/tmp/.ICE-pipe/"
|
2019-05-18 23:55:54 +02:00
|
|
|
+#define NAMEDNODENAME "@TERMUX_PREFIX@/tmp/.ICE-pipe/"
|
2018-09-10 00:42:26 +02:00
|
|
|
#else
|
|
|
|
#define PTSNODENAME "/dev/X/ICE."
|
|
|
|
#define NAMEDNODENAME "/dev/X/NICE."
|
|
|
|
@@ -304,7 +304,7 @@
|
|
|
|
#endif
|
|
|
|
#if defined(TEST_t)
|
2019-05-18 23:55:54 +02:00
|
|
|
#ifdef __sun
|
2018-09-10 00:42:26 +02:00
|
|
|
-#define NAMEDNODENAME "/tmp/.Test-unix/test"
|
2019-05-18 23:55:54 +02:00
|
|
|
+#define NAMEDNODENAME "@TERMUX_PREFIX@/tmp/.Test-unix/test"
|
2018-09-10 00:42:26 +02:00
|
|
|
#endif
|
|
|
|
#define PTSNODENAME "/dev/X/transtest."
|
|
|
|
#define NAMEDNODENAME "/dev/X/Ntranstest."
|