SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
38
textproc/hunspell/patches/patch-src_tools_hunspell_cxx
Normal file
38
textproc/hunspell/patches/patch-src_tools_hunspell_cxx
Normal file
|
@ -0,0 +1,38 @@
|
|||
Index: src/tools/hunspell.cxx
|
||||
--- src/tools/hunspell.cxx.orig
|
||||
+++ src/tools/hunspell.cxx
|
||||
@@ -116,28 +116,14 @@
|
||||
#include "../parsers/odfparser.hxx"
|
||||
|
||||
#define LIBDIR \
|
||||
- "/usr/share/hunspell:" \
|
||||
- "/usr/share/myspell:" \
|
||||
- "/usr/share/myspell/dicts:" \
|
||||
- "/Library/Spelling"
|
||||
+ "${PREFIX}/share/hunspell:" \
|
||||
+ "${LOCALBASE}/share/myspell:" \
|
||||
+ "${LOCALBASE}/share/myspell/dicts:" \
|
||||
+ "${LOCALBASE}/share/mozilla-dicts"
|
||||
#define USEROOODIR { \
|
||||
- ".openoffice.org/3/user/wordbook", \
|
||||
- ".openoffice.org2/user/wordbook", \
|
||||
- ".openoffice.org2.0/user/wordbook",\
|
||||
- "Library/Spelling" }
|
||||
+ ".config/libreoffice/4/user/wordbook" }
|
||||
#define OOODIR \
|
||||
- "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
|
||||
- "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
|
||||
- "/opt/openoffice.org2.4/share/dict/ooo:" \
|
||||
- "/usr/lib/openoffice.org2.4/share/dict/ooo:" \
|
||||
- "/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"
|
||||
+ "${LOCALBASE}/lib/libreoffice/share/wordbook"
|
||||
#define HOME getenv("HOME")
|
||||
#define DICBASENAME ".hunspell_"
|
||||
#define LOGFILE "/tmp/hunspell.log"
|
Loading…
Add table
Add a link
Reference in a new issue