mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
libarchive: restore multithreaded xz compression by default.
This commit is contained in:
parent
43a71a02a1
commit
78775add74
2 changed files with 16 additions and 1 deletions
15
srcpkgs/libarchive/patches/filter-xz-enable-threads.patch
Normal file
15
srcpkgs/libarchive/patches/filter-xz-enable-threads.patch
Normal 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;
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libarchive'
|
# Template file for 'libarchive'
|
||||||
pkgname=libarchive
|
pkgname=libarchive
|
||||||
version=3.2.0
|
version=3.2.0
|
||||||
revision=1
|
revision=2
|
||||||
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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue