aboutsummaryrefslogtreecommitdiffstats
path: root/main/xapian-core
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2015-05-27 14:04:57 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2015-05-27 14:04:57 +0000
commitd1c1342582fa2f11d1e70beed36bb740f412873b (patch)
tree9b179f0ef3a990c7cf7f9199163dfd71d9fe6538 /main/xapian-core
parent698580abb02ce35bdc49061c8e0fad9bf9020cc9 (diff)
downloadaports-d1c1342582fa2f11d1e70beed36bb740f412873b.tar.bz2
aports-d1c1342582fa2f11d1e70beed36bb740f412873b.tar.xz
main/xapian-core: upgrade to 1.2.21
Diffstat (limited to 'main/xapian-core')
-rw-r--r--main/xapian-core/APKBUILD14
-rw-r--r--main/xapian-core/timeval-t.patch12
2 files changed, 21 insertions, 5 deletions
diff --git a/main/xapian-core/APKBUILD b/main/xapian-core/APKBUILD
index d05ccb6934..8f9761d237 100644
--- a/main/xapian-core/APKBUILD
+++ b/main/xapian-core/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=xapian-core
-pkgver=1.2.20
+pkgver=1.2.21
pkgrel=0
pkgdesc="Open source search engine library"
url="http://www.xapian.org/"
@@ -12,7 +12,8 @@ depends_dev="zlib-dev util-linux-dev"
makedepends="$depends_dev libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc libxapian"
-source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz"
+source="http://oligarchy.co.uk/xapian/$pkgver/$pkgname-$pkgver.tar.xz
+ timeval-t.patch"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
@@ -45,6 +46,9 @@ libxapian() {
mv "$pkgdir"/usr/lib/$subpkgname* "$subpkgdir"/usr/lib
}
-md5sums="eecb650d8b73e09a63f32140f2d810ce xapian-core-1.2.20.tar.xz"
-sha256sums="c4f8d5b9e393ea32912955a17e6b6ea3f6c052ae9133ded6fe48582c25b1aa8f xapian-core-1.2.20.tar.xz"
-sha512sums="89b2b4dabd4ef5946a2fab95c0bc3786fe36172f4dc750713aa4f3fa5d9e1716ee598faca1385209c1a669f5b7fed1a88c038d1f9cc47522fa956d04ea86560a xapian-core-1.2.20.tar.xz"
+md5sums="276497a458a8ae63e7dceb372cc1bc37 xapian-core-1.2.21.tar.xz
+689e6f6a15c61a229c558cbf91a656c1 timeval-t.patch"
+sha256sums="63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f xapian-core-1.2.21.tar.xz
+3f28d677d08a1b75695ac7a010299762952043d04e14b52d352dda1c235c3427 timeval-t.patch"
+sha512sums="a821043ea1686a09178bb91b14ed6a8cf00c50dfb0f066e420a40395edd3be085d7f89abb8f6a1151c847272c13601274e645055ede3548b07d5e912f0a70f81 xapian-core-1.2.21.tar.xz
+639c0ecd75be0627d334628b5adf581a7da92c4f86dfb86a92669368ff8a874d4bf4e344b8f3b1276d22d126d2bc44c8ab727e39e1c29c0358fe7bbc8aa8050d timeval-t.patch"
diff --git a/main/xapian-core/timeval-t.patch b/main/xapian-core/timeval-t.patch
new file mode 100644
index 0000000000..b1fa7f71bb
--- /dev/null
+++ b/main/xapian-core/timeval-t.patch
@@ -0,0 +1,12 @@
+diff --git a/common/socket_utils.cc b/common/socket_utils.cc
+index 99a4a23..f7a872b 100644
+--- a/common/socket_utils.cc
++++ b/common/socket_utils.cc
+@@ -23,6 +23,7 @@
+
+ #include <cmath>
+ #include <limits>
++#include <sys/time.h>
+
+ using namespace std;
+