diff options
author | Khaled Hosny <khaledhosny@eglug.org> | 2013-10-17 19:58:07 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2013-10-18 06:57:57 +0000 |
commit | 64b6499371fa22d52648523e65a28c041dd6579f (patch) | |
tree | d07fb933a66a0d0c0b01d163c0c6e65e687f1981 /external/hunspell/hunspell-android.patch | |
parent | 89b7435b9a98c93253638becafe5ff28efcfac4b (diff) |
fdo#70393: move hunspell to a subdir of external
Change-Id: Id3aafd95cb8c064f84898844a91f350e9aad0ed4
Reviewed-on: https://gerrit.libreoffice.org/6307
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: David Tardon <dtardon@redhat.com>
Diffstat (limited to 'external/hunspell/hunspell-android.patch')
-rw-r--r-- | external/hunspell/hunspell-android.patch | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/external/hunspell/hunspell-android.patch b/external/hunspell/hunspell-android.patch new file mode 100644 index 000000000000..1bfbb4beb0f9 --- /dev/null +++ b/external/hunspell/hunspell-android.patch @@ -0,0 +1,42 @@ +--- misc/hunspell-1.3.2/config.sub 2010-02-23 10:08:48.000000000 +0100 ++++ misc/build/hunspell-1.3.2/config.sub 2011-09-26 23:31:02.000000000 +0200 +@@ -118,7 +118,7 @@ + # Here we must recognize all the valid KERNEL-OS combinations. + maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'` + case $maybe_os in +- nto-qnx* | linux-gnu* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ ++ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | \ + kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*) + os=-$maybe_os + basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'` +@@ -1161,7 +1161,7 @@ + | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ + | -chorusos* | -chorusrdb* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ +- | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ ++ | -mingw32* | -linux-gnu* | -linux-androideabi* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ + | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ + | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ + | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \ +--- 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> |