[Libreoffice-commits] .: hunspell/hunspell-android.patch hunspell/makefile.mk

Tor Lillqvist tml at kemper.freedesktop.org
Sat Jun 11 11:35:50 PDT 2011


 hunspell/hunspell-android.patch |   33 +++++++++++++++++++++++++++++++++
 hunspell/makefile.mk            |    3 ++-
 2 files changed, 35 insertions(+), 1 deletion(-)

New commits:
commit 1db9076f189f103eceafa0611c336a0da8d8b8b0
Author: Tor Lillqvist <tml at iki.fi>
Date:   Sat Jun 11 21:23:00 2011 +0300

    Add Android patch

diff --git a/hunspell/hunspell-android.patch b/hunspell/hunspell-android.patch
new file mode 100644
index 0000000..6713e40
--- /dev/null
+++ b/hunspell/hunspell-android.patch
@@ -0,0 +1,33 @@
+--- misc/hunspell-1.3.1/config.sub
++++ misc/build/hunspell-1.3.1/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.1/src/tools/munch.c
++++ misc/build/hunspell-1.3.1/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.1/src/tools/unmunch.c
++++ misc/build/hunspell-1.3.1/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>
diff --git a/hunspell/makefile.mk b/hunspell/makefile.mk
index 5a6ea0c..a682ba0 100644
--- a/hunspell/makefile.mk
+++ b/hunspell/makefile.mk
@@ -43,7 +43,8 @@ ADDITIONAL_FILES+=config.h
 PATCH_FILES=\
     hunspell-static.patch \
     hunspell-wntconfig.patch \
-    hunspell-solaris.patch
+    hunspell-solaris.patch \
+    hunspell-android.patch
 
 .IF "$(GUI)"=="UNX"
 


More information about the Libreoffice-commits mailing list