0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 02:36:16 +00:00
termux-packages/disabled-packages/mosh-git/mosh-server.cc.patch
Tee KOBAYASHI e14aea9295 mosh-git: Disabled
now that mosh has a new release. This package has outlived its purpose.
2022-11-19 02:31:53 +09:00

15 lines
732 B
Diff

diff -uNr mosh-1.3.2/src/frontend/mosh-server.cc mosh-1.3.2.mod/src/frontend/mosh-server.cc
--- mosh-1.3.2/src/frontend/mosh-server.cc 2017-07-23 00:14:53.000000000 +0300
+++ mosh-1.3.2.mod/src/frontend/mosh-server.cc 2019-03-01 22:37:18.009498882 +0200
@@ -562,8 +562,8 @@
// this always happens.
// XXX Hackish knowledge of Ubuntu PAM configuration.
// But this seems less awful than build-time detection with autoconf.
- if (!print_motd("/run/motd.dynamic")) {
- print_motd("/var/run/motd.dynamic");
+ if (!print_motd("@TERMUX_PREFIX@/run/motd.dynamic")) {
+ print_motd("@TERMUX_PREFIX@/var/run/motd.dynamic");
}
// Always print traditional /etc/motd.
print_motd("/etc/motd");