From 9c795df95174c42d5aae21838a9f733b69dd6f70 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 4 May 2016 09:58:09 +0200 Subject: [PATCH] libarchive: fix previous, use lzma_cputhreads() instead. --- srcpkgs/libarchive/patches/filter-xz-enable-threads.patch | 2 +- srcpkgs/libarchive/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch b/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch index cd29f1e80e..2b9bcf2f71 100644 --- a/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch +++ b/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch @@ -9,7 +9,7 @@ Enable xz multithreaded compression by default. f->data = data; data->compression_level = LZMA_PRESET_DEFAULT; - data->threads = 1; -+ data->threads = 0; ++ data->threads = lzma_cputhreads(); f->open = &archive_compressor_xz_open; f->close = archive_compressor_xz_close; f->free = archive_compressor_xz_free; diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index 65f24d1630..cf144685a3 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -1,7 +1,7 @@ # Template file for 'libarchive' pkgname=libarchive version=3.2.0 -revision=2 +revision=3 bootstrap=yes build_style=gnu-configure configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)