File kdrill.patch of Package kdrill
diff -ru kdrill6.2.orig/Imakefile kdrill6.2/Imakefile
--- kdrill6.2.orig/Imakefile 2003-08-24 10:02:32.000000000 +0200
+++ kdrill6.2/Imakefile 2003-08-25 01:34:00.000000000 +0200
@@ -32,9 +32,9 @@
/* You can change these here, and KDrill.ad will
* get created with the matching values. Yaaay!
*/
-DICTLOCATION= /usr/local/lib/kanjidic.gz
-EDICTLOCATION= /usr/local/lib/edict.gz
-RADLOCATION= /usr/local/lib/radkfile
+DICTLOCATION= /usr/share/edict/kanjidic-euc
+EDICTLOCATION= /usr/share/edict/edict-euc
+RADLOCATION= /usr/share/edict/radkfile
# If for some reason, the user prefs stuff isn't working for you,
# and you can't compile, uncomment this
diff -ru kdrill6.2.orig/strokesearch.c kdrill6.2/strokesearch.c
--- kdrill6.2.orig/strokesearch.c 2003-08-23 08:28:18.000000000 +0200
+++ kdrill6.2/strokesearch.c 2005-04-28 16:38:46.000000000 +0200
@@ -48,7 +48,7 @@
int strokecount;
strokecount=GetWidgetNumberval(strokeinputw);
if(strokecount<1) {
- XtVaSetValues(strokeinputw,XtNstring,"");
+ XtVaSetValues(strokeinputw,XtNstring,"",NULL);
return;
}