summaryrefslogtreecommitdiffstats
path: root/main/hunspell/fix-includes.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-07-14 09:37:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-07-14 09:37:22 +0000
commitc99ded5870e56b1894b47d6f90760d1c19737b66 (patch)
treebe389159d09c548683744b95b6fca33d112f6a24 /main/hunspell/fix-includes.patch
parent503062d54a5bef559ef963c3be7c1f2b87df63d0 (diff)
downloadaports-c99ded5870e56b1894b47d6f90760d1c19737b66.tar.bz2
aports-c99ded5870e56b1894b47d6f90760d1c19737b66.tar.xz
main/hunspell: upgrade to 1.3.3
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 aeb16ac49..8f9b16dad 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