0
0
mirror of https://github.com/termux-pacman/glibc-packages.git synced 2024-11-23 14:46:18 +00:00
glibc-packages/gpkg/xtrans/xtrans-1.4.0_Xtranslcl.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

32 lines
838 B
Diff

--- a/Xtranslcl.c
+++ b/Xtranslcl.c
@@ -213,23 +213,23 @@
#ifndef X11_t
#define X_STREAMS_DIR "/dev/X"
#else
-#define X_STREAMS_DIR "/tmp/.X11-pipe"
+#define X_STREAMS_DIR "@TERMUX_PREFIX_CLASSICAL@/tmp/.X11-pipe"
#endif
#define DEV_PTMX "/dev/ptmx"
#if defined(X11_t)
-#define NAMEDNODENAME "/tmp/.X11-pipe/X"
+#define NAMEDNODENAME "@TERMUX_PREFIX_CLASSICAL@/tmp/.X11-pipe/X"
#endif
#if defined(XIM_t)
-#define NAMEDNODENAME "/tmp/.XIM-pipe/XIM"
+#define NAMEDNODENAME "@TERMUX_PREFIX_CLASSICAL@/tmp/.XIM-pipe/XIM"
#endif
#if defined(FS_t) || defined (FONT_t)
-#define NAMEDNODENAME "/tmp/.font-pipe/fs"
+#define NAMEDNODENAME "@TERMUX_PREFIX_CLASSICAL@/tmp/.font-pipe/fs"
#endif
#if defined(ICE_t)
-#define NAMEDNODENAME "/tmp/.ICE-pipe/"
+#define NAMEDNODENAME "@TERMUX_PREFIX_CLASSICAL@/tmp/.ICE-pipe/"
#endif