aboutsummaryrefslogtreecommitdiffstats
path: root/comms/conserver-com
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2008-07-03 07:15:03 +0800
committerkuriyama <kuriyama@FreeBSD.org>2008-07-03 07:15:03 +0800
commit38127f5f6b6d7321ad88f999d0e28ba913e0ef3a (patch)
tree2b2b434bdfb8c14015dd1c173fc44db1334098ad /comms/conserver-com
parentacb67a1c0097413f5174b69a6c2c4638223cd38d (diff)
downloadfreebsd-ports-gnome-38127f5f6b6d7321ad88f999d0e28ba913e0ef3a.tar.gz
freebsd-ports-gnome-38127f5f6b6d7321ad88f999d0e28ba913e0ef3a.tar.zst
freebsd-ports-gnome-38127f5f6b6d7321ad88f999d0e28ba913e0ef3a.zip
- Unbreak on recent 8-current (after sgtty changes).
- Bump PORTREVISION for safety by minor logic change. Submitted by: ed@FreeBSD.org PR: ports/124485
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