diff options
Diffstat (limited to 'hunspell/hunspell-android.patch')
-rw-r--r-- | hunspell/hunspell-android.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/hunspell/hunspell-android.patch b/hunspell/hunspell-android.patch new file mode 100644 index 000000000000..7daef8c3ed79 --- /dev/null +++ b/hunspell/hunspell-android.patch @@ -0,0 +1,33 @@ +--- misc/hunspell-1.3.2/config.sub ++++ misc/build/hunspell-1.3.2/config.sub +@@ -1272,7 +1272,7 @@ + | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \ + | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ + | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ +- | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ ++ | -udi* | -androideabi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ +--- misc/hunspell-1.3.2/src/tools/munch.c ++++ misc/build/hunspell-1.3.2/src/tools/munch.c +@@ -8,7 +8,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> +-#ifdef __linux__ ++#if defined(__linux__) && !defined(__ANDROID__) + #include <error.h> + #include <errno.h> + #include <sys/mman.h> +--- misc/hunspell-1.3.2/src/tools/unmunch.c ++++ misc/build/hunspell-1.3.2/src/tools/unmunch.c +@@ -8,7 +8,7 @@ + #include <sys/types.h> + #include <sys/stat.h> + #include <fcntl.h> +-#ifdef __linux__ ++#if defined(__linux__) && !defined(__ANDROID__) + #include <error.h> + #include <errno.h> + #include <sys/mman.h> |