diff options
author | Hajimu UMEMOTO <ume@FreeBSD.org> | 2006-12-17 08:00:23 +0000 |
---|---|---|
committer | Hajimu UMEMOTO <ume@FreeBSD.org> | 2006-12-17 08:00:23 +0000 |
commit | 57f6de19bde48650c8283b7203cbd8e156e00b80 (patch) | |
tree | 1f5644a65a0bfa576ceb29707eb6ff1a7cbe2114 /japanese/tomoe/files | |
parent | ae24171e8a2e486add72fda67e7e719f9266aee1 (diff) | |
download | ports-57f6de19bde48650c8283b7203cbd8e156e00b80.tar.gz ports-57f6de19bde48650c8283b7203cbd8e156e00b80.zip |
Update to 0.4.0.
Notes
Notes:
svn path=/head/; revision=179998
Diffstat (limited to 'japanese/tomoe/files')
-rw-r--r-- | japanese/tomoe/files/patch-lib::tomoe.c | 41 | ||||
-rw-r--r-- | japanese/tomoe/files/patch-src::match.c | 17 |
2 files changed, 0 insertions, 58 deletions
diff --git a/japanese/tomoe/files/patch-lib::tomoe.c b/japanese/tomoe/files/patch-lib::tomoe.c deleted file mode 100644 index 3d19a4ef2215..000000000000 --- a/japanese/tomoe/files/patch-lib::tomoe.c +++ /dev/null @@ -1,41 +0,0 @@ -Index: lib/tomoe.c -diff -u -p lib/tomoe.c.orig lib/tomoe.c ---- lib/tomoe.c.orig Thu Aug 11 11:34:32 2005 -+++ lib/tomoe.c Mon Dec 19 03:31:30 2005 -@@ -150,9 +150,9 @@ tomoe_get_matched (glyph *input, candida - { - candidate_private *cand; - int_array *adapted; -+ int pj; - cand = cands->p[i]; - adapted = cand->adapted_strokes; -- int pj; - - pj = match_stroke_num(cand->index, input->stroke_num, adapted); - -@@ -471,13 +471,14 @@ load_dictionaries (void) - stroke *strk = NULL; - point *pnt = NULL; - char line_buf[LINE_BUF_SIZE]; -+ FILE *fp; - - if (g_dict) return; - - g_dict = calloc (1, sizeof(dictionary)); - dictionary_alloc_contents (g_dict, DICT_LETTER_INITIAL_SIZE); - -- FILE *fp = fopen (TOMOEDATADIR "/all.tdic", "r"); -+ fp = fopen (TOMOEDATADIR "/all.tdic", "r"); - while ((p = fgets (line_buf, LINE_BUF_SIZE, fp)) != NULL) - { - if (p[0] == '\n') -@@ -766,8 +767,8 @@ get_candidates(stroke *input_stroke, poi - for (cand_index = 0; cand_index < cands->len; cand_index++) - { - tomoe_bool match_flag; -- match_flag = FALSE; - int_array *adapted = NULL; -+ match_flag = FALSE; - cand = cands->p[cand_index]; - - adapted = int_array_copy (cand->adapted_strokes); diff --git a/japanese/tomoe/files/patch-src::match.c b/japanese/tomoe/files/patch-src::match.c deleted file mode 100644 index 11778ad5a839..000000000000 --- a/japanese/tomoe/files/patch-src::match.c +++ /dev/null @@ -1,17 +0,0 @@ -Index: src/match.c -diff -u -p src/match.c.orig src/match.c ---- src/match.c.orig Mon Dec 27 13:36:00 2004 -+++ src/match.c Mon Dec 19 03:33:58 2005 -@@ -547,10 +547,11 @@ load_data () - letter *lttr = NULL; - stroke *strk = NULL; - point *pnt = NULL; -+ FILE *fp; - - dictionary_alloc_contents(&dict, DICT_LETTER_INITIAL_SIZE); - -- FILE *fp = fopen(TOMOEDATADIR "/all.tdic", "r"); -+ fp = fopen(TOMOEDATADIR "/all.tdic", "r"); - while ((p = fgets(line_buf, LINE_BUF_SIZE, fp)) != NULL) - { - if (p[0] == '\n') |