aboutsummaryrefslogtreecommitdiffstats
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
parent503062d54a5bef559ef963c3be7c1f2b87df63d0 (diff)
downloadaports-c99ded5870e56b1894b47d6f90760d1c19737b66.tar.bz2
aports-c99ded5870e56b1894b47d6f90760d1c19737b66.tar.xz
main/hunspell: upgrade to 1.3.3
-rw-r--r--main/hunspell/APKBUILD19
-rw-r--r--main/hunspell/fix-includes.patch26
2 files changed, 24 insertions, 21 deletions
diff --git a/main/hunspell/APKBUILD b/main/hunspell/APKBUILD
index 953567b09a..2a2d20a082 100644
--- a/main/hunspell/APKBUILD
+++ b/main/hunspell/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=hunspell
-pkgver=1.3.2
-pkgrel=2
+pkgver=1.3.3
+pkgrel=0
pkgdesc="Spell checker and morphological analyzer library and program"
url="http://hunspell.sourceforge.net/"
arch="all"
@@ -10,7 +10,8 @@ subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=""
makedepends="gettext-dev"
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- fix-includes.patch"
+ fix-includes.patch
+ "
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -41,9 +42,9 @@ package() {
rm "$pkgdir"/usr/lib/*.la || return 1
}
-md5sums="3121aaf3e13e5d88dfff13fb4a5f1ab8 hunspell-1.3.2.tar.gz
-17ccb7870adf6c15d44db451a05ed139 fix-includes.patch"
-sha256sums="b4edd4a4ee944cb9f485b35473e46b729ed768e9d24da8e78e4c4c6ca56addbd hunspell-1.3.2.tar.gz
-b2beb505d7bf92218ad8bc9e3da772d4fe69129aaa2f9974bec8802f8a0b2644 fix-includes.patch"
-sha512sums="fdc165af6fc7d66b858184e34851fb6d8022736af4133fe51535afcadd9c7fdb824c05c3d33b948fafcea165ccc23f5918adb7d81e5eeb5525c05abda0cbd43c hunspell-1.3.2.tar.gz
-fc80b90bdb001fc0771a74b3464b429057446b4314bcd8d9957ba00ea9410a77331e38c8225e91dfa2b4984281b701ea86b2bcd8dcd8266ea59f4f3b9cb74546 fix-includes.patch"
+md5sums="4967da60b23413604c9e563beacc63b4 hunspell-1.3.3.tar.gz
+42518efac9078bca4a313a5a9afba276 fix-includes.patch"
+sha256sums="a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c hunspell-1.3.3.tar.gz
+f7d322213086c99757b8b806aa208187b13bd94ba879f022c154798203bc650b fix-includes.patch"
+sha512sums="7599981d002a4a032c41c83f6287243a4942b0e25c408049a3ba86c16f63ce964800a3ac325ace0402b0d7256690c4a4151a66f19a8f58cc455af0498bb1af04 hunspell-1.3.3.tar.gz
+48e555061e9b0c181d6ecb443100eae2c83a36a6bbdbbf94cc06d6176f5948a649a2a28f185040e194e95c27cf796b72c522733cc819c199c73b64d371d6add5 fix-includes.patch"
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