diff options
Diffstat (limited to 'x11/kdelibs3/patches/patch-cc')
-rw-r--r-- | x11/kdelibs3/patches/patch-cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/x11/kdelibs3/patches/patch-cc b/x11/kdelibs3/patches/patch-cc new file mode 100644 index 00000000000..e6c95297616 --- /dev/null +++ b/x11/kdelibs3/patches/patch-cc @@ -0,0 +1,22 @@ +$NetBSD: patch-cc,v 1.3 2003/01/20 10:04:26 skrll Exp $ + +--- kspell/ksconfig.cpp.orig Wed Jan 15 12:18:30 2003 ++++ kspell/ksconfig.cpp +@@ -360,6 +360,8 @@ void KSpellConfig::getAvailDictsIspell ( + // dictionary path + QFileInfo dir ("/usr/lib/ispell"); + if (!dir.exists() || !dir.isDir()) ++ dir.setFile ("@LOCALBASE@/lib"); ++ if (!dir.exists() || !dir.isDir()) + dir.setFile ("/usr/local/lib/ispell"); + if (!dir.exists() || !dir.isDir()) + dir.setFile ("/usr/local/share/ispell"); +@@ -422,6 +424,8 @@ void KSpellConfig::getAvailDictsAspell ( + // dictionary path + // FIXME: use "aspell dump config" to find out the dict-dir + QFileInfo dir ("/usr/lib/aspell"); ++ if (!dir.exists() || !dir.isDir()) ++ dir.setFile ("@LOCALBASE@/lib"); + if (!dir.exists() || !dir.isDir()) + dir.setFile ("/usr/local/lib/aspell"); + if (!dir.exists() || !dir.isDir()) |