diff options
Diffstat (limited to 'inputmethod/skkserv/patches')
-rw-r--r-- | inputmethod/skkserv/patches/patch-ag | 23 | ||||
-rw-r--r-- | inputmethod/skkserv/patches/patch-ah | 9 | ||||
-rw-r--r-- | inputmethod/skkserv/patches/patch-ai | 16 |
3 files changed, 33 insertions, 15 deletions
diff --git a/inputmethod/skkserv/patches/patch-ag b/inputmethod/skkserv/patches/patch-ag index f31b2ab24bb..c9e8796a68d 100644 --- a/inputmethod/skkserv/patches/patch-ag +++ b/inputmethod/skkserv/patches/patch-ag @@ -1,8 +1,17 @@ -$NetBSD: patch-ag,v 1.1.1.1 2002/05/31 12:59:58 seb Exp $ +$NetBSD: patch-ag,v 1.2 2010/02/14 22:07:38 dholland Exp $ ---- jisyo-tools/skkdic-expr.c.orig Tue Dec 17 14:51:28 1996 -+++ jisyo-tools/skkdic-expr.c Mon Nov 6 01:34:22 2000 -@@ -78,59 +78,86 @@ +--- jisyo-tools/skkdic-expr.c.orig 1996-12-17 05:51:28.000000000 +0000 ++++ jisyo-tools/skkdic-expr.c +@@ -22,6 +22,8 @@ the Free Software Foundation, 675 Mass A + */ + + #include <stdio.h> ++#include <stdlib.h> ++#include <string.h> + #include <ndbm.h> + #include <errno.h> + #include <signal.h> +@@ -78,59 +80,86 @@ static void db_remove_file(fname) } } @@ -111,7 +120,7 @@ $NetBSD: patch-ag,v 1.1.1.1 2002/05/31 12:59:58 seb Exp $ == NULL){ perror(okuri_tail_name); exit(1); -@@ -698,7 +725,7 @@ +@@ -698,7 +727,7 @@ static void type_out(output) for (key = dbm_firstkey(db); key.dptr != NULL; key = dbm_nextkey(db)) { content = dbm_fetch(db, key); for(i = 0; i < key.dsize; ++ i) @@ -120,7 +129,7 @@ $NetBSD: patch-ag,v 1.1.1.1 2002/05/31 12:59:58 seb Exp $ putc(' ', output); fseek(dbcontent, getpos(content.dptr), 0); db_gets(kanji, BLEN, dbcontent); -@@ -716,7 +743,7 @@ +@@ -716,7 +745,7 @@ static void type_out(output) if (entry.dptr != NULL) continue; for(i = 0; i < key.dsize; ++ i) @@ -129,7 +138,7 @@ $NetBSD: patch-ag,v 1.1.1.1 2002/05/31 12:59:58 seb Exp $ putc(' ', output); putc('/', output); okuri_type_out(&key, output); -@@ -775,9 +802,8 @@ +@@ -775,9 +804,8 @@ int main(argc, argv) exit(1); } diff --git a/inputmethod/skkserv/patches/patch-ah b/inputmethod/skkserv/patches/patch-ah index 3bb6012ea68..b18895872dc 100644 --- a/inputmethod/skkserv/patches/patch-ah +++ b/inputmethod/skkserv/patches/patch-ah @@ -1,12 +1,13 @@ -$NetBSD: patch-ah,v 1.1.1.1 2002/05/31 12:59:58 seb Exp $ +$NetBSD: patch-ah,v 1.2 2010/02/14 22:07:38 dholland Exp $ ---- jisyo-tools/skkdic-sort.c-orig Tue Dec 17 06:51:28 1996 -+++ jisyo-tools/skkdic-sort.c Sun Nov 18 13:01:23 2001 -@@ -22,7 +22,7 @@ +--- jisyo-tools/skkdic-sort.c.orig 1996-12-17 05:51:28.000000000 +0000 ++++ jisyo-tools/skkdic-sort.c +@@ -22,7 +22,8 @@ the Free Software Foundation, 675 Mass A */ #include <stdio.h> -#ifndef NO_MALLOC_H ++#include <stdlib.h> +#ifdef HAVE_MALLOC_H #include <malloc.h> #endif diff --git a/inputmethod/skkserv/patches/patch-ai b/inputmethod/skkserv/patches/patch-ai index 0af9736fb04..3f97f7407b0 100644 --- a/inputmethod/skkserv/patches/patch-ai +++ b/inputmethod/skkserv/patches/patch-ai @@ -1,8 +1,16 @@ -$NetBSD: patch-ai,v 1.1 2005/02/22 10:48:36 hira Exp $ +$NetBSD: patch-ai,v 1.2 2010/02/14 22:07:38 dholland Exp $ ---- skkserv/skkserv.h.orig 2005-02-22 19:14:10.000000000 +0900 -+++ skkserv/skkserv.h 2005-02-22 19:14:46.000000000 +0900 -@@ -43,6 +43,7 @@ +--- skkserv/skkserv.h.orig 1997-01-20 19:16:36.000000000 +0000 ++++ skkserv/skkserv.h +@@ -37,12 +37,15 @@ + /* 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 #include <sys/ioctl.h> #endif #include <sys/socket.h> |