diff options
author | max <max@FreeBSD.org> | 2002-10-15 07:01:03 +0800 |
---|---|---|
committer | max <max@FreeBSD.org> | 2002-10-15 07:01:03 +0800 |
commit | fbb66c53346257c01117c8943ad98b7737c88e67 (patch) | |
tree | ef4e3826868cbca95d08165097b74c0318e6c3e6 /japanese/ircII | |
parent | 6d91503aef35810bf176053d99bff5254d22d310 (diff) | |
download | freebsd-ports-gnome-fbb66c53346257c01117c8943ad98b7737c88e67.tar.gz freebsd-ports-gnome-fbb66c53346257c01117c8943ad98b7737c88e67.tar.zst freebsd-ports-gnome-fbb66c53346257c01117c8943ad98b7737c88e67.zip |
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>)
Diffstat (limited to 'japanese/ircII')
-rw-r--r-- | japanese/ircII/Makefile | 1 | ||||
-rw-r--r-- | japanese/ircII/files/patch-source::wserv.c | 24 |
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(); + |