summaryrefslogtreecommitdiff
path: root/textproc/hunspell/files/patch-src_tools_hunspell.cxx
diff options
context:
space:
mode:
authorGabor Kovesdan <gabor@FreeBSD.org>2007-07-20 20:44:10 +0000
committerGabor Kovesdan <gabor@FreeBSD.org>2007-07-20 20:44:10 +0000
commitea72c0a7a2b239e51cfa9d2643e72216b41a6145 (patch)
tree300d168cc5e39d682c70d011a4aa9b3fa7b4ea3e /textproc/hunspell/files/patch-src_tools_hunspell.cxx
parent- Update to 1.1.3 (diff)
- Update to 1.1.8
- Unbreak on 7.X PR: ports/114693 Submitted by: Janos Mohacsi <janos.mohacsi@bsd.hu>
Notes
Notes: svn path=/head/; revision=195957
Diffstat (limited to 'textproc/hunspell/files/patch-src_tools_hunspell.cxx')
-rw-r--r--textproc/hunspell/files/patch-src_tools_hunspell.cxx19
1 files changed, 16 insertions, 3 deletions
diff --git a/textproc/hunspell/files/patch-src_tools_hunspell.cxx b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
index 01cfb372c230..1b82c1ecf916 100644
--- a/textproc/hunspell/files/patch-src_tools_hunspell.cxx
+++ b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
@@ -3,12 +3,25 @@ $FreeBSD$
--- src/tools/hunspell.cxx.orig
+++ src/tools/hunspell.cxx
-@@ -47,7 +47,7 @@
+@@ -59,16 +59,12 @@
#include "manparser.hxx"
#include "firstparser.hxx"
--#define LIBDIR "/usr/share/myspell/"
-+#define LIBDIR "%%PREFIX%%/share/myspell/"
+-#define LIBDIR "/usr/share/hunspell:/usr/share/myspell"
++#define LIBDIR "%%PREFIX%%/share/hunspell:%%PREFIX%%/share/myspell"
+ #define USEROOODIR ".openoffice.org2/user/wordbook"
+-#define OOODIR "/opt/openoffice.org2.3/share/dict/ooo:" \
+- "/usr/lib/openoffice.org2.3/share/dict/ooo:" \
+- "/opt/openoffice.org2.2/share/dict/ooo:" \
+- "/usr/lib/openoffice.org2.2/share/dict/ooo:" \
+- "/opt/openoffice.org2.1/share/dict/ooo:" \
+- "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
+- "/opt/openoffice.org2.0/share/dict/ooo:" \
+- "/usr/lib/openoffice.org2.0/share/dict/ooo"
++#define OOODIR "%%PREFIX%%/openoffice.org-2.3/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org-2.2/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org-2.1/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org2.0/share/dict/ooo"
#define HOME getenv("HOME")
#define DICBASENAME ".hunspell_"
#define LOGFILE "/tmp/hunspell.log"