pkgsrc/misc/xjdic/patches/patch-ab
wiz 85f3d07574 Update to 2.4:
In fact very little has changed in V2.4.  A few bugs were fixed, and one
new feature, namely the display of multiple results in a
multi-dictionary lookup, was added. One bug-fix was to re-instate a
feature that was accidently dropped out in the V2.2 -> V2.3 update.
(Only one user noticed....)

Pkgsrc change: depend on new edict and kanjidic packages instead of
including a copy of the files.
2004-01-02 03:17:53 +00:00

13 lines
667 B
Text

$NetBSD: patch-ab,v 1.2 2004/01/02 03:17:54 wiz Exp $
--- xjdic.h.orig 2003-12-24 04:27:00.000000000 +0100
+++ xjdic.h
@@ -3,7 +3,7 @@
#define NRKANA 250*2 /* size of the romaji to kana tables*/
#define NOFILT 10 /* maximum number of general filters */
#define VMAX 600 /* maximum entries in the verb table */
-#define DEFAULT_DICDIR "" /* could be: "/usr/local/lib/xjdic" */
+#define DEFAULT_DICDIR PREFIX "share/xjdic" /* could be: "/usr/local/lib/xjdic" */
#define NOHITS 1000 /* size of hittab */
#define SPTAG '@' /* character that flags priority entries */
#define KFBUFFSIZE 2000 /* size of the KFlush buffer */