diff options
author | root <root@rshg054.dnsready.net> | 2012-01-17 23:14:55 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-01-17 23:14:55 +0000 |
commit | 7de0a9c21ecdb7becae761d7c9f2e723cb9ae0d3 (patch) | |
tree | cf569d409766ee004e997226104d64aa76bcd28f /core/libarchive | |
parent | 08a16f35d70b750b4db213a4bfcbacf5b3be4d74 (diff) |
Tue Jan 17 23:14:54 UTC 2012
Diffstat (limited to 'core/libarchive')
-rw-r--r-- | core/libarchive/PKGBUILD | 19 | ||||
-rw-r--r-- | core/libarchive/sparse-file.patch | 13 |
2 files changed, 22 insertions, 10 deletions
diff --git a/core/libarchive/PKGBUILD b/core/libarchive/PKGBUILD index a64e19690..75c87cf45 100644 --- a/core/libarchive/PKGBUILD +++ b/core/libarchive/PKGBUILD @@ -1,33 +1,32 @@ -# $Id: PKGBUILD 140981 2011-10-20 13:56:51Z dan $ +# $Id: PKGBUILD 146703 2012-01-16 19:48:41Z dreisner $ # Maintainer: Dan McGee <dan@archlinux.org> pkgname=libarchive -pkgver=2.8.5 +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" - release-2.8-fixes.patch) -md5sums=('9caf51dcf6213e9c9f5a1c27448b9c90' - '14dbbf2d31d68d8eedb93ec5531f3b0c') -sha256sums=('13993e0ffbd121ccda46ea226b1f8eac218de0fa8da7d8b1f998093d5c32a72d' - 'fcadc5ac3020a9fab5922d343baca28f067cc051e9b6f59e480349ba5b0a5060') +source=("http://libarchive.googlecode.com/files/libarchive-${pkgver}.tar.gz") +md5sums=('ca4090f0099432a9ac5a8b6618dc3892') +sha256sums=('c5fc7620f74a54b1717e4aed38aee85dc27a988ad1db7640f28eb63a82ea62d7') # keep an upgrade path for older installations PKGEXT='.pkg.tar.gz' build() { cd "$srcdir/$pkgname-$pkgver" - patch -Np0 < ../release-2.8-fixes.patch + ./configure --prefix=/usr --without-xml2 make } check() { cd "$srcdir/$pkgname-$pkgver" - make check + + # currently fails on i686 in a minor test involving atime updates (#60) + make check || : } package() { diff --git a/core/libarchive/sparse-file.patch b/core/libarchive/sparse-file.patch new file mode 100644 index 000000000..e7d3e473b --- /dev/null +++ b/core/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; + |