diff options
author | leeym <leeym@FreeBSD.org> | 2003-05-04 18:36:29 +0800 |
---|---|---|
committer | leeym <leeym@FreeBSD.org> | 2003-05-04 18:36:29 +0800 |
commit | fbe936f7d2189e50fc2c670a1c88efe5e38c271d (patch) | |
tree | 2936d76eca2be269fb745d0b3b04b874b092fded /chinese/telnet/files | |
parent | 21c345f5a0f7ba585038a070f550a2023937129f (diff) | |
download | freebsd-ports-gnome-fbe936f7d2189e50fc2c670a1c88efe5e38c271d.tar.gz freebsd-ports-gnome-fbe936f7d2189e50fc2c670a1c88efe5e38c271d.tar.zst freebsd-ports-gnome-fbe936f7d2189e50fc2c670a1c88efe5e38c271d.zip |
1. simplify the patch
2. stop trying when /usr/src/usr.bin/telnet doesn't exists
Submitted by: 1. ijliao
Diffstat (limited to 'chinese/telnet/files')
-rw-r--r-- | chinese/telnet/files/patch-aa | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/chinese/telnet/files/patch-aa b/chinese/telnet/files/patch-aa index 86d2bb9ea83e..44446ed9d110 100644 --- a/chinese/telnet/files/patch-aa +++ b/chinese/telnet/files/patch-aa @@ -1,14 +1,11 @@ ---- sys_bsd.c.orig Sat Sep 30 21:08:50 2000 -+++ sys_bsd.c Sat Sep 30 21:10:24 2000 -@@ -593,10 +593,7 @@ +--- sys_bsd.c.orig Sun May 4 16:03:33 2003 ++++ sys_bsd.c Sun May 4 16:04:12 2003 +@@ -572,7 +572,7 @@ else lmode &= ~LPASS8; #else - if (f & MODE_INBIN) -- tmp_tc.c_iflag &= ~ISTRIP; -- else -- tmp_tc.c_iflag |= ISTRIP; -+ tmp_tc.c_iflag &= ~ISTRIP; - if (f & MODE_OUTBIN) { - tmp_tc.c_cflag &= ~(CSIZE|PARENB); - tmp_tc.c_cflag |= CS8; ++ if (1) + tmp_tc.c_iflag &= ~ISTRIP; + else + tmp_tc.c_iflag |= ISTRIP; |