mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-10 20:55:34 +00:00
22 lines
730 B
Diff
22 lines
730 B
Diff
diff -uNr openssh-portable-V_9_5_P1/defines.h openssh-portable-V_9_5_P1.mod/defines.h
|
|
--- openssh-portable-V_9_5_P1/defines.h 2023-10-04 07:34:10.000000000 +0300
|
|
+++ openssh-portable-V_9_5_P1.mod/defines.h 2023-11-23 16:29:34.257875879 +0200
|
|
@@ -464,7 +464,7 @@
|
|
#endif
|
|
|
|
#ifndef _PATH_NOLOGIN
|
|
-# define _PATH_NOLOGIN "/etc/nologin"
|
|
+# define _PATH_NOLOGIN "@TERMUX_PREFIX@/etc/nologin"
|
|
#endif
|
|
|
|
/* Define this to be the path of the xauth program. */
|
|
@@ -477,7 +477,7 @@
|
|
# ifdef __hpux
|
|
# define X_UNIX_PATH "/var/spool/sockets/X11/%u"
|
|
# else
|
|
-# define X_UNIX_PATH "/tmp/.X11-unix/X%u"
|
|
+# define X_UNIX_PATH "@TERMUX_PREFIX@/tmp/.X11-unix/X%u"
|
|
# endif
|
|
#endif /* X_UNIX_PATH */
|
|
#define _PATH_UNIX_X X_UNIX_PATH
|