summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorPierre Beyssac <pb@FreeBSD.org>2003-09-04 13:21:38 +0000
committerPierre Beyssac <pb@FreeBSD.org>2003-09-04 13:21:38 +0000
commit502650c7f51eed5dc2188a840339780813bdb969 (patch)
treed90a2bf626cb8f1df10422c30debc58767449b94 /comms
parentUpdate to 0.03 (diff)
Remove stdio buffering even when not on a tty or pty: this prevents
use of ircomm from a "set device" in ppp(8). Bump PORTREVISION.
Notes
Notes: svn path=/head/; revision=88531
Diffstat (limited to 'comms')
-rw-r--r--comms/birda/Makefile2
-rw-r--r--comms/birda/files/patch-options.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/comms/birda/Makefile b/comms/birda/Makefile
index c790338826cb..a514e57550b0 100644
--- a/comms/birda/Makefile
+++ b/comms/birda/Makefile
@@ -7,7 +7,7 @@
PORTNAME= birda
PORTVERSION= 1.00
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= comms
MASTER_SITES= ftp://ftp.netbsd.org/pub/NetBSD/packages/distfiles/
diff --git a/comms/birda/files/patch-options.c b/comms/birda/files/patch-options.c
new file mode 100644
index 000000000000..a1a7b7717863
--- /dev/null
+++ b/comms/birda/files/patch-options.c
@@ -0,0 +1,11 @@
+--- src/options.c.orig Wed Jan 2 17:22:11 2002
++++ src/options.c Thu Aug 28 17:17:00 2003
+@@ -427,6 +427,8 @@
+ exit(-2);
+ }
+
++ setbuf(stdin, 0);
++ setbuf(stdout, 0);
+ if(pty && !openPty(pty)) {
+ log("Cannot open pty\n");
+ exit(-6);