libarchive: restore multithreaded xz compression by default.

This commit is contained in:
Juan RP 2016-05-04 09:53:34 +02:00
parent 43a71a02a1
commit 78775add74
2 changed files with 16 additions and 1 deletions

View File

@ -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;

View File

@ -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)