Initial push
[termux-packages] / packages / hunspell / hunspell.cxx.patch
1 diff -u -r ../hunspell-1.3.3/src/tools/hunspell.cxx ./src/tools/hunspell.cxx
2 --- ../hunspell-1.3.3/src/tools/hunspell.cxx 2014-06-02 13:35:50.000000000 +0200
3 +++ ./src/tools/hunspell.cxx 2014-07-02 13:14:52.000000000 +0200
4 @@ -68,7 +68,7 @@
5 #include "odfparser.hxx"
6
7 #define LIBDIR \
8 - "/usr/share/hunspell:" \
9 + "@TERMUX_PREFIX@/share/hunspell:" \
10 "/usr/share/myspell:" \
11 "/usr/share/myspell/dicts:" \
12 "/Library/Spelling"
13 @@ -92,7 +92,7 @@
14 "/usr/lib/openoffice.org2.0/share/dict/ooo"
15 #define HOME getenv("HOME")
16 #define DICBASENAME ".hunspell_"
17 -#define LOGFILE "/tmp/hunspell.log"
18 +#define LOGFILE "@TERMUX_PREFIX@/tmp/hunspell.log"
19 #define DIRSEPCH '/'
20 #define DIRSEP "/"
21 #define PATHSEP ":"