aboutsummaryrefslogtreecommitdiffstats
path: root/chinese
diff options
context:
space:
mode:
authorleeym <leeym@FreeBSD.org>2003-05-04 18:36:29 +0800
committerleeym <leeym@FreeBSD.org>2003-05-04 18:36:29 +0800
commitfbe936f7d2189e50fc2c670a1c88efe5e38c271d (patch)
tree2936d76eca2be269fb745d0b3b04b874b092fded /chinese
parent21c345f5a0f7ba585038a070f550a2023937129f (diff)
downloadfreebsd-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')
-rw-r--r--chinese/telnet/Makefile2
-rw-r--r--chinese/telnet/files/patch-aa17
2 files changed, 8 insertions, 11 deletions
diff --git a/chinese/telnet/Makefile b/chinese/telnet/Makefile
index d409f85b7fa6..689b59969581 100644
--- a/chinese/telnet/Makefile
+++ b/chinese/telnet/Makefile
@@ -26,7 +26,7 @@ do-extract:
@${MKDIR} ${WRKSRC}/lib
@${CP} -R /usr/src/lib/libtelnet ${WRKSRC}/lib
.else
-BROKEN= "You need to build this port with ${SRCDIR}"
+IGNORE= "You need to build this port with ${SRCDIR}"
.endif
pre-patch:
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;