From 2d4aa7f882dac8abb34e973655326c93f584f31f Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 Jan 2012 23:15:11 +0000 Subject: Sat Jan 14 23:15:11 UTC 2012 --- testing/libarchive/PKGBUILD | 13 +++++++------ testing/libarchive/sparse-file.patch | 13 +++++++++++++ 2 files changed, 20 insertions(+), 6 deletions(-) create mode 100644 testing/libarchive/sparse-file.patch (limited to 'testing/libarchive') diff --git a/testing/libarchive/PKGBUILD b/testing/libarchive/PKGBUILD index d6616659e..a40ad46f7 100644 --- a/testing/libarchive/PKGBUILD +++ b/testing/libarchive/PKGBUILD @@ -1,22 +1,23 @@ -# $Id: PKGBUILD 145944 2012-01-04 13:11:41Z dreisner $ +# $Id: PKGBUILD 146572 2012-01-13 16:55:27Z dreisner $ # Maintainer: Dan McGee pkgname=libarchive -pkgver=3.0.2 -pkgrel=1 +pkgver=3.0.3 +pkgrel=2 pkgdesc="library that can create and read several streaming archive formats" arch=('i686' 'x86_64') url="http://libarchive.googlecode.com/" license=('BSD') depends=('zlib' 'bzip2' 'xz>=5.0.0' 'acl' 'openssl>=1.0.0' 'expat') source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") -md5sums=('4df33cb107c9702c80473e0794ddf833') -sha256sums=('b27a10182f4fc3f69d01419a59ddb16fccf5df8c4b166008c04f41905e29fd74') +md5sums=('ca4090f0099432a9ac5a8b6618dc3892') +sha256sums=('c5fc7620f74a54b1717e4aed38aee85dc27a988ad1db7640f28eb63a82ea62d7') # keep an upgrade path for older installations PKGEXT='.pkg.tar.gz' build() { cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --without-xml2 make } @@ -24,7 +25,7 @@ build() { check() { cd "$srcdir/$pkgname-$pkgver" - # currently fails in a minor test involving atime updates (#60) + # currently fails on i686 in a minor test involving atime updates (#60) make check || : } diff --git a/testing/libarchive/sparse-file.patch b/testing/libarchive/sparse-file.patch new file mode 100644 index 000000000..e7d3e473b --- /dev/null +++ b/testing/libarchive/sparse-file.patch @@ -0,0 +1,13 @@ +Index: libarchive/archive_write_set_format_pax.c +=================================================================== +--- libarchive/archive_write_set_format_pax.c (revision 4094) ++++ libarchive/archive_write_set_format_pax.c (working copy) +@@ -1647,7 +1647,7 @@ + return (total); + + p = ((const unsigned char *)buff) + total; +- ws = s; ++ ws = s - total; + if (ws > pax->sparse_list->remaining) + ws = pax->sparse_list->remaining; + -- cgit v1.2.3-54-g00ecf