summaryrefslogtreecommitdiff
path: root/inputmethod/skkserv/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/skkserv/patches/patch-ag')
-rw-r--r--inputmethod/skkserv/patches/patch-ag23
1 files changed, 16 insertions, 7 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);
}