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)