mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-26 23:42:57 +02:00
libarchive: update to 3.2.1.
This commit is contained in:
parent
f8f6c883dc
commit
9c20b1b674
2 changed files with 10 additions and 36 deletions
|
@ -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
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libarchive'
|
# Template file for 'libarchive'
|
||||||
pkgname=libarchive
|
pkgname=libarchive
|
||||||
version=3.2.0
|
version=3.2.1
|
||||||
revision=5
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
|
configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)
|
||||||
|
@ -16,17 +16,20 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://www.libarchive.org/"
|
homepage="http://www.libarchive.org/"
|
||||||
license="BSD"
|
license="BSD"
|
||||||
distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
|
distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz"
|
||||||
checksum=7bce45fd71ff01dc20d19edd78322d4965583d81b8bed8e26cacb65d6f5baa87
|
checksum=72ee1a4e3fd534525f13a0ba1aa7b05b203d186e0c6072a8a4738649d0b3cfd2
|
||||||
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -if
|
|
||||||
}
|
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="acl expat lzo ssl"
|
build_options="acl expat lzo ssl"
|
||||||
# Enable acl and ssl by default.
|
# Enable acl and ssl by default.
|
||||||
build_options_default="acl ssl"
|
build_options_default="acl ssl"
|
||||||
|
|
||||||
|
pre_configure() {
|
||||||
|
autoreconf -if
|
||||||
|
}
|
||||||
|
post_install() {
|
||||||
|
vlicense COPYING
|
||||||
|
}
|
||||||
|
|
||||||
bsdtar_package() {
|
bsdtar_package() {
|
||||||
replaces="bsdcpio>=0"
|
replaces="bsdcpio>=0"
|
||||||
short_desc="BSD utilities using libarchive"
|
short_desc="BSD utilities using libarchive"
|
||||||
|
|
Loading…
Add table
Reference in a new issue