aboutsummaryrefslogtreecommitdiffstats
path: root/main/hunspell/fix-includes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/hunspell/fix-includes.patch')
-rw-r--r--main/hunspell/fix-includes.patch26
1 files changed, 14 insertions, 12 deletions
diff --git a/main/hunspell/fix-includes.patch b/main/hunspell/fix-includes.patch
index aeb16ac496..8f9b16dadf 100644
--- a/main/hunspell/fix-includes.patch
+++ b/main/hunspell/fix-includes.patch
@@ -1,20 +1,22 @@
---- hunspell-1.3.2.orig/src/tools/munch.c
-+++ hunspell-1.3.2/src/tools/munch.c
-@@ -9,7 +9,6 @@
+--- hunspell-1.3.3.orig/src/tools/munch.c
++++ hunspell-1.3.3/src/tools/munch.c
+@@ -9,7 +9,7 @@
#include <sys/stat.h>
#include <fcntl.h>
- #ifdef __linux__
--#include <error.h>
+ #include <limits.h>
+-#if defined(__linux__) && !defined(__ANDROID__)
++#if defined(__GLIBC__)
+ #include <error.h>
#include <errno.h>
#include <sys/mman.h>
- #endif
---- hunspell-1.3.2.orig/src/tools/unmunch.c
-+++ hunspell-1.3.2/src/tools/unmunch.c
-@@ -11,7 +11,6 @@
+--- hunspell-1.3.3.orig/src/tools/unmunch.c
++++ hunspell-1.3.3/src/tools/unmunch.c
+@@ -10,7 +10,7 @@
+ #include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
- #ifdef __linux__
--#include <error.h>
+-#if defined(__linux__) && !defined(__ANDROID__)
++#if defined(__GLIBC__)
+ #include <error.h>
#include <errno.h>
#include <sys/mman.h>
- #endif