Package: skksearch
Version: 0.0-5
Severity: important

SKK-JISYO.L (included in skkdic 20060610-1) has some
long (>1024) entries that are ignored by skksearch
because skksearch has only 1024 bytes buffer.

Please add the following patch to the skksearch package.

#! /bin/sh /usr/share/dpatch/dpatch-run
## dic_bufsize.dpatch by SATOH Fumiyasu
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Extend DIC_BUFSIZE for newer SKK-JISYO.L

@DPATCH@
diff -urNad skksearch-0.0/dic_db.c.dist skksearch-0.0/dic_db.c
--- skksearch-0.0/dic.h.dist    2000-12-15 18:06:06.000000000 +0900
+++ skksearch-0.0/dic.h 2006-07-05 22:24:53.408746058 +0900
@@ -12,7 +12,7 @@
  * GNU General Public License for more details.
  */

-#define DIC_BUFSIZE 1024
+#define DIC_BUFSIZE 4096

 struct dic {
   char buf[DIC_BUFSIZE];

-- 
-- Name: SATOH Fumiyasu / fumiyas @ miraclelinux.com
-- Business Home: http://www.MiracleLinux.com
-- Personal Home: http://www.SFO.jp/blog/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to