libarchive: update to 3.2.1.

This commit is contained in:
Juan RP 2016-06-21 07:36:22 +02:00
parent f8f6c883dc
commit 9c20b1b674
2 changed files with 10 additions and 36 deletions

View file

@ -1,29 +0,0 @@
From 9690ea4f3b79d07860f3ea55b6fab571721849b5 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@voidlinux.eu>
Date: Thu, 5 May 2016 07:55:57 +0200
Subject: [PATCH] configure.ac: define HAVE_LZMA_STREAM_ENCODER_MT if it is
detected properly.
... otherwise HAVE_LZMA_STREAM_ENCODER_MT is undefined and the code
for multithreaded xz compression is skipped completely.
---
configure.ac | 3 +++
1 file changed, 3 insertions(+)
diff --git a/configure.ac b/configure.ac
index 1ab54cb..cb6943f 100644
--- configure.ac
+++ configure.ac
@@ -377,6 +377,9 @@ if test "x$with_lzma" != "xno"; then
AC_LANG_PROGRAM([[#include <lzma.h>]],
[[lzma_stream_encoder_mt(0, 0);]])],
[ac_cv_lzma_has_mt=yes], [ac_cv_lzma_has_mt=no])])
+ if test "x$ac_cv_lzma_has_mt" != xno; then
+ AC_DEFINE([HAVE_LZMA_STREAM_ENCODER_MT], [1], [Define to 1 if you have the `lzma_stream_encoder_mt' function.])
+ fi
fi
AC_ARG_WITH([lzo2],
--
2.8.2

View file

@ -1,7 +1,7 @@
# Template file for 'libarchive'
pkgname=libarchive
version=3.2.0
revision=5
version=3.2.1
revision=1
bootstrap=yes
build_style=gnu-configure
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
@ -16,17 +16,20 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.libarchive.org/"
license="BSD"
distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
checksum=7bce45fd71ff01dc20d19edd78322d4965583d81b8bed8e26cacb65d6f5baa87
pre_configure() {
autoreconf -if
}
checksum=72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2
# Package build options
build_options="acl expat lzo ssl"
# Enable acl and ssl by default.
build_options_default="acl ssl"
pre_configure() {
autoreconf -if
}
post_install() {
vlicense COPYING
}
bsdtar_package() {
replaces="bsdcpio>=0"
short_desc="BSD utilities using libarchive"