libgpg-error: Update from 1.27 to 1.29
[termux-packages] / packages / hunspell / src-tools-hunspell.cxx.patch
1 diff -u -r ../hunspell-1.4.1/src/tools/hunspell.cxx ./src/tools/hunspell.cxx
2 --- ../hunspell-1.4.1/src/tools/hunspell.cxx 2016-05-03 03:55:52.000000000 -0400
3 +++ ./src/tools/hunspell.cxx 2016-05-03 06:49:59.025455094 -0400
4 @@ -113,7 +113,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 @@ -137,7 +137,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 ":"