xapian-core: update to 1.2.22

This commit is contained in:
Alessio Sergi 2015-12-31 17:08:37 +01:00
parent 2534aba064
commit 7fa0e6bb2d
2 changed files with 14 additions and 7 deletions

View file

@ -0,0 +1,10 @@
--- common/socket_utils.cc.orig
+++ common/socket_utils.cc
@@ -28,6 +28,7 @@ using namespace std;
#ifndef __WIN32__
# include <sys/socket.h>
+# include <sys/time.h>
#else
# include "safeerrno.h"

View file

@ -1,7 +1,7 @@
# Template file for 'xapian-core'
pkgname=xapian-core
version=1.2.21
revision=2
version=1.2.22
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="zlib-devel libuuid-devel"
@ -10,15 +10,11 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.xapian.org/"
license="GPL-2"
distfiles="http://oligarchy.co.uk/xapian/${version}/${pkgname}-${version}.tar.xz"
checksum=63f48758fbd13fa8456dd4cf9bf3ec35a096e4290f14a51ac7df23f78c162d3f
checksum=269b87ca3faf79d444e8bb82ed58a96f1955008d7702f9966dec68608588527f
# xapian-config needs the .la
keep_libtool_archives=yes
pre_configure() {
sed -i '/<config.h>/a#include <sys/time.h>' common/socket_utils.cc
}
xapian-core-devel_package() {
depends="libxapian-${version}_${revision}"
short_desc+=" - development files"
@ -27,6 +23,7 @@ xapian-core-devel_package() {
vmove usr/share/doc
vmove usr/share/aclocal
vmove usr/lib/cmake
vmove usr/lib/pkgconfig
vmove usr/lib/*.la
vmove usr/lib/*.so
vmove usr/bin/xapian-config