33 lines
1.2 KiB
Diff
33 lines
1.2 KiB
Diff
--- 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>
|