summaryrefslogtreecommitdiff
path: root/textproc/hunspell/files/patch-src_tools_hunspell.cxx
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-03-26 21:25:01 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-03-26 21:25:01 +0000
commit40f2fd719037117dd9b1e335950213dce3e15cd9 (patch)
tree4846802d9f73eca5caf25675cb561f2a9ee20cac /textproc/hunspell/files/patch-src_tools_hunspell.cxx
parentUpdate to 3.1.10 (diff)
Update to 1.6.1
Changes: https://github.com/hunspell/hunspell/releases
Notes
Notes: svn path=/head/; revision=437004
Diffstat (limited to 'textproc/hunspell/files/patch-src_tools_hunspell.cxx')
-rw-r--r--textproc/hunspell/files/patch-src_tools_hunspell.cxx51
1 files changed, 25 insertions, 26 deletions
diff --git a/textproc/hunspell/files/patch-src_tools_hunspell.cxx b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
index f733b4c55b0f..705f8eab53b7 100644
--- a/textproc/hunspell/files/patch-src_tools_hunspell.cxx
+++ b/textproc/hunspell/files/patch-src_tools_hunspell.cxx
@@ -1,18 +1,27 @@
---- src/tools/hunspell.cxx.orig 2016-11-28 10:34:55 UTC
+--- src/tools/hunspell.cxx.orig 2017-03-25 21:20:45 UTC
+++ src/tools/hunspell.cxx
-@@ -112,28 +112,23 @@
+@@ -115,29 +115,23 @@
+ #include "xmlparser.hxx"
#include "odfparser.hxx"
- #define LIBDIR \
+-#define LIBDIR \
- "/usr/share/hunspell:" \
- "/usr/share/myspell:" \
- "/usr/share/myspell/dicts:" \
-- "/Library/Spelling"
--#define USEROOODIR \
-- ".openoffice.org/3/user/wordbook:" \
-- ".openoffice.org2/user/wordbook:" \
-- ".openoffice.org2.0/user/wordbook:" \
-- "Library/Spelling"
++#define LIBDIR \
++ "%%PREFIX%%/share/hunspell:" \
++ "%%PREFIX%%/share/myspell:" \
++ "%%PREFIX%%/share/myspell/dicts:" \
+ "/Library/Spelling"
+-#define USEROOODIR { \
+- ".openoffice.org/3/user/wordbook", \
+- ".openoffice.org2/user/wordbook", \
+- ".openoffice.org2.0/user/wordbook",\
++#define USEROOODIR { \
++ ".openoffice.org/3/user/wordbook" \
++ ".openoffice.org2/user/wordbook" \
++ ".openoffice.org2.0/user/wordbook" \
+ "Library/Spelling" }
-#define OOODIR \
- "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
- "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
@@ -26,23 +35,13 @@
- "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
- "/opt/openoffice.org2.0/share/dict/ooo:" \
- "/usr/lib/openoffice.org2.0/share/dict/ooo"
-+ "%%PREFIX%%/share/hunspell:" \
-+ "%%PREFIX%%/share/myspell:" \
-+ "%%PREFIX%%/share/myspell/dicts:"
-+#define USEROOODIR \
-+ ".openoffice.org/3/user/wordbook:" \
-+ ".openoffice.org2/user/wordbook:" \
-+ ".openoffice.org2.0/user/wordbook:" \
-+ "Library/Spelling"
-+#define OOODIR \
-+ "%%PREFIX%%/openoffice.org3/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-3.0.0/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.4.2/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.4.1/share/dict/ooo:" \
-+ "%%PREFIX%%/openoffice.org-2.4/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 OOODIR \
++ "%%PREFIX%%/openoffice.org/basis3.0/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org2.4/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org2.3/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org2.2/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org2.1/share/dict/ooo:" \
++ "%%PREFIX%%/openoffice.org2.0/share/dict/ooo"
#define HOME getenv("HOME")
#define DICBASENAME ".hunspell_"
#define LOGFILE "/tmp/hunspell.log"