summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2002-10-14 23:01:03 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2002-10-14 23:01:03 +0000
commitf25e2221ce39a25c50afe4af2b0a11cf5bdcad51 (patch)
treec5f5647c80dac76dc108d7f64108d14bcc207390
parentUpdate to 0.3.2. (diff)
Add a patch to correct the problem with interaction between ircII and screen.
Suggested by: mistral@imasy.or.jp (Yoshihiko SARUMARU) Patch Obtained From: PR 11388 (from Christopher N. Harrell <cnh@mindspring.com>)
Notes
Notes: svn path=/head/; revision=68064
-rw-r--r--japanese/ircII/Makefile1
-rw-r--r--japanese/ircII/files/patch-source::wserv.c24
2 files changed, 25 insertions, 0 deletions
diff --git a/japanese/ircII/Makefile b/japanese/ircII/Makefile
index bf7dede475a8..bbe4acaaa1b7 100644
--- a/japanese/ircII/Makefile
+++ b/japanese/ircII/Makefile
@@ -7,6 +7,7 @@
PORTNAME= ircii
PORTVERSION= 2.8.2
+PORTREVISION= 1
CATEGORIES= japanese irc
MASTER_SITES= ftp://cs-ftp.bu.edu/irc/clients/ \
ftp://ftp.kyoto.wide.ad.jp/IRC/ircII/
diff --git a/japanese/ircII/files/patch-source::wserv.c b/japanese/ircII/files/patch-source::wserv.c
new file mode 100644
index 000000000000..76233b6d7dd6
--- /dev/null
+++ b/japanese/ircII/files/patch-source::wserv.c
@@ -0,0 +1,24 @@
+--- source/wserv.c.orig Sat Jul 2 11:32:13 1994
++++ source/wserv.c Tue Oct 15 07:52:08 2002
+@@ -80,7 +80,7 @@
+ strcpy(addr->sun_path, argv[1]);
+ s = socket(AF_UNIX, SOCK_STREAM, 0);
+ if (0 > connect(s, (struct sockaddr *) addr, sizeof(addr->sun_family) +
+- strlen(addr->sun_path)))
++ strlen(addr->sun_path) + 1))
+ exit(0);
+
+ /*
+@@ -88,10 +88,10 @@
+ * can grab the size of the tty, and have it changed.
+ */
+
+- tmp = ttyname(0);
++ if ((tmp = ttyname(0)) == NULL)
++ perror("ttyname(0)");
+ write(s, tmp, strlen(tmp));
+ write(s, "\n", 1);
+- perror(tmp);
+
+ term_init();
+