0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-27 06:08:57 +00:00
glibc-packages/gpkg/xtrans/xtrans-1.4.0_Xtranssock.c.patch
Ivan Max 586881af18
new pkgs to gpkg (#126)
gpkg/libpng
gpkg/libxau
gpkg/libxdmcp
gpkg/xcb-proto
gpkg/xorg-util-macros
gpkg/xorgproto
gpkg/xtrans
gpkg/libdrm
gpkg/libgcrypt
gpkg/libgpg-error
gpkg/libpciaccess
gpkg/libx11
gpkg/libxcb
gpkg/libxcomposite
gpkg/libxcursor
gpkg/libxext
gpkg/libxfixes
gpkg/libxi
gpkg/libxinerama
gpkg/libxrandr
gpkg/libxrender
gpkg/libxshmfence
gpkg/libxslt
gpkg/libxxf86vm
2023-10-16 10:40:54 +03:00

33 lines
1.2 KiB
Diff

diff -uNr xtrans-1.4.0/Xtranssock.c xtrans-1.4.0.mod/Xtranssock.c
--- xtrans-1.4.0/Xtranssock.c 2019-03-16 23:30:31.000000000 +0200
+++ xtrans-1.4.0.mod/Xtranssock.c 2019-05-19 00:52:00.404623112 +0300
@@ -200,20 +200,20 @@
#if defined(X11_t)
-#define UNIX_PATH "/tmp/.X11-unix/X"
-#define UNIX_DIR "/tmp/.X11-unix"
+#define UNIX_PATH "@TERMUX_PREFIX_CLASSICAL@/tmp/.X11-unix/X"
+#define UNIX_DIR "@TERMUX_PREFIX_CLASSICAL@/tmp/.X11-unix"
#endif /* X11_t */
#if defined(XIM_t)
-#define UNIX_PATH "/tmp/.XIM-unix/XIM"
-#define UNIX_DIR "/tmp/.XIM-unix"
+#define UNIX_PATH "@TERMUX_PREFIX_CLASSICAL@/tmp/.XIM-unix/XIM"
+#define UNIX_DIR "@TERMUX_PREFIX_CLASSICAL@/tmp/.XIM-unix"
#endif /* XIM_t */
#if defined(FS_t) || defined(FONT_t)
-#define UNIX_PATH "/tmp/.font-unix/fs"
-#define UNIX_DIR "/tmp/.font-unix"
+#define UNIX_PATH "@TERMUX_PREFIX_CLASSICAL@/tmp/.font-unix/fs"
+#define UNIX_DIR "@TERMUX_PREFIX_CLASSICAL@/tmp/.font-unix"
#endif /* FS_t || FONT_t */
#if defined(ICE_t)
-#define UNIX_PATH "/tmp/.ICE-unix/"
-#define UNIX_DIR "/tmp/.ICE-unix"
+#define UNIX_PATH "@TERMUX_PREFIX_CLASSICAL@/tmp/.ICE-unix/"
+#define UNIX_DIR "@TERMUX_PREFIX_CLASSICAL@/tmp/.ICE-unix"
#endif /* ICE_t */