From 78775add749c2c3bc06a6ef600febd450e28950c Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 4 May 2016 09:53:34 +0200 Subject: [PATCH] libarchive: restore multithreaded xz compression by default. --- .../patches/filter-xz-enable-threads.patch | 15 +++++++++++++++ srcpkgs/libarchive/template | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/libarchive/patches/filter-xz-enable-threads.patch diff --git a/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch b/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch new file mode 100644 index 0000000000..cd29f1e80e --- /dev/null +++ b/srcpkgs/libarchive/patches/filter-xz-enable-threads.patch @@ -0,0 +1,15 @@ +Enable xz multithreaded compression by default. + + --xtraeme + +--- libarchive/archive_write_add_filter_xz.c.orig 2016-05-04 09:49:31.262876338 +0200 ++++ libarchive/archive_write_add_filter_xz.c 2016-05-04 09:50:25.318811601 +0200 +@@ -152,7 +152,7 @@ common_setup(struct archive_write_filter + } + f->data = data; + data->compression_level = LZMA_PRESET_DEFAULT; +- data->threads = 1; ++ data->threads = 0; + 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 62dd631916..65f24d1630 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -1,7 +1,7 @@ # Template file for 'libarchive' pkgname=libarchive version=3.2.0 -revision=1 +revision=2 bootstrap=yes build_style=gnu-configure configure_args="$(vopt_enable acl) $(vopt_enable acl xattr)