diff options
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(); + |