diff options
author | Tilman Keskinoz <arved@FreeBSD.org> | 2008-01-01 19:03:36 +0000 |
---|---|---|
committer | Tilman Keskinoz <arved@FreeBSD.org> | 2008-01-01 19:03:36 +0000 |
commit | ec7d6ff18d12c3193835547d153c7629c082a820 (patch) | |
tree | aed87182282c53e34f0a3a798043a5a2cf41cf29 /japanese | |
parent | 13966ac24edb9471341c156a6f03d85dccea7203 (diff) |
Notes
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/skkserv/Makefile | 1 | ||||
-rw-r--r-- | japanese/skkserv/files/patch-skkserv.c | 11 | ||||
-rw-r--r-- | japanese/skkserv/files/patch-skkserv.h | 19 |
3 files changed, 31 insertions, 0 deletions
diff --git a/japanese/skkserv/Makefile b/japanese/skkserv/Makefile index 011eadcf0bd8..93b2333243d6 100644 --- a/japanese/skkserv/Makefile +++ b/japanese/skkserv/Makefile @@ -7,6 +7,7 @@ PORTNAME= skkserv PORTVERSION= 9.6 +PORTREVISION= 1 CATEGORIES= japanese MASTER_SITES= ${MASTER_SITE_PORTS_JP} DISTNAME= skk${PORTVERSION} diff --git a/japanese/skkserv/files/patch-skkserv.c b/japanese/skkserv/files/patch-skkserv.c new file mode 100644 index 000000000000..901a4c14b6e0 --- /dev/null +++ b/japanese/skkserv/files/patch-skkserv.c @@ -0,0 +1,11 @@ +--- skkserv/skkserv.c.orig 2008-01-01 20:00:27.000000000 +0100 ++++ skkserv/skkserv.c 2008-01-01 20:01:01.000000000 +0100 +@@ -476,7 +476,7 @@ + + if (FD_ISSET(initsock, &readfds)) { + len = sizeof(from); +- if ((clientsock[nclients ++] = accept(initsock, &from, &len)) < 0) { ++ if ((clientsock[nclients ++] = accept(initsock, (struct sockaddr*)&from, &len)) < 0) { + err("accept error; something wrong happened with the socket"); + } + if (nclients >= MAXDTAB - 3 - debug * 2) { diff --git a/japanese/skkserv/files/patch-skkserv.h b/japanese/skkserv/files/patch-skkserv.h new file mode 100644 index 000000000000..c6c891559b2e --- /dev/null +++ b/japanese/skkserv/files/patch-skkserv.h @@ -0,0 +1,19 @@ +--- skkserv/skkserv.h.orig 1997-01-20 20:16:36.000000000 +0100 ++++ skkserv/skkserv.h 2008-01-01 19:58:41.000000000 +0100 +@@ -37,6 +37,8 @@ + /* Necessary for SunOS 3.x and maybe other old systems */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + + #include <sys/types.h> + #ifdef HAVE_SYS_IOCTL_H +@@ -44,6 +46,7 @@ + #endif + #include <sys/socket.h> + #include <netinet/in.h> ++#include <arpa/inet.h> + #include <netdb.h> + #include <signal.h> + #include <errno.h> |