0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-23 14:56:16 +00:00
termux-packages/x11-packages/openbox/openbox-termux-compat.patch
2022-04-18 14:50:30 +05:30

15 lines
681 B
Diff

diff -uNr openbox-3.6.1/tools/gdm-control/gdm-control.c openbox-3.6.1.mod/tools/gdm-control/gdm-control.c
--- openbox-3.6.1/tools/gdm-control/gdm-control.c 2014-11-05 17:19:42.000000000 +0200
+++ openbox-3.6.1.mod/tools/gdm-control/gdm-control.c 2017-11-27 11:43:38.691355227 +0200
@@ -21,8 +21,8 @@
SWITCHUSER
} Action;
-#define GDM_PROTOCOL_SOCKET_PATH1 "/var/run/gdm_socket"
-#define GDM_PROTOCOL_SOCKET_PATH2 "/tmp/.gdm_socket"
+#define GDM_PROTOCOL_SOCKET_PATH1 "@TERMUX_PREFIX@/var/run/gdm_socket"
+#define GDM_PROTOCOL_SOCKET_PATH2 "@TERMUX_PREFIX@/tmp/.gdm_socket"
#define GDM_PROTOCOL_MSG_CLOSE "CLOSE"
#define GDM_PROTOCOL_MSG_VERSION "VERSION"