aboutsummaryrefslogtreecommitdiff
path: root/comms/conserver-com
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2008-07-02 23:15:03 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2008-07-02 23:15:03 +0000
commitb64e38a747e78fbc95bbf6d4d8e10306e14ddd2c (patch)
tree1a1f8c76f0faaffded08aed02e1f30de0c6765d5 /comms/conserver-com
parent33d1956a50a7eb429eae87a92a9eb6d58cc04159 (diff)
downloadports-b64e38a747e78fbc95bbf6d4d8e10306e14ddd2c.tar.gz
ports-b64e38a747e78fbc95bbf6d4d8e10306e14ddd2c.zip
Notes
Diffstat (limited to 'comms/conserver-com')
-rw-r--r--comms/conserver-com/Makefile1
-rw-r--r--comms/conserver-com/files/patch-group.c18
2 files changed, 19 insertions, 0 deletions
diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile
index e31ee309a72f..3be5b6cbbea3 100644
--- a/comms/conserver-com/Makefile
+++ b/comms/conserver-com/Makefile
@@ -7,6 +7,7 @@
PORTNAME= conserver
PORTVERSION= 8.1.16
+PORTREVISION= 1
CATEGORIES= comms
MASTER_SITES= http://www.conserver.com/ \
ftp://ftp.conserver.com/conserver/
diff --git a/comms/conserver-com/files/patch-group.c b/comms/conserver-com/files/patch-group.c
new file mode 100644
index 000000000000..e98032d5dcc7
--- /dev/null
+++ b/comms/conserver-com/files/patch-group.c
@@ -0,0 +1,18 @@
+--- conserver/group.c.orig 2008-07-03 08:06:56.000000000 +0900
++++ conserver/group.c 2008-07-03 08:08:28.000000000 +0900
+@@ -3839,12 +3839,10 @@
+ "failed]\r\n", -1);
+ continue;
+ }
+- if (TAB3 == (TABDLY & sbuf.c_oflag)) {
+- sbuf.c_oflag &= ~TABDLY;
+- sbuf.c_oflag |= TAB0;
++ if (sbuf.c_oflag & OXTABS) {
++ sbuf.c_oflag &= ~OXTABS;
+ } else {
+- sbuf.c_oflag &= ~TABDLY;
+- sbuf.c_oflag |= TAB3;
++ sbuf.c_oflag |= OXTABS;
+ }
+ if (-1 ==
+ tcsetattr(FileFDNum