From 525f4a99d27bfee64485a0e6fa794ace729f905d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 5 May 2016 06:20:47 +0200 Subject: [PATCH] libarchive: enable multithreaded xz compression for real. configure.ac does not set HAVE_LZMA_STREAM_ENCODER_MT anywhere! --- srcpkgs/libarchive/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index cf144685a3d..f8322847eb5 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -1,7 +1,7 @@ # Template file for 'libarchive' pkgname=libarchive version=3.2.0 -revision=3 +revision=4 bootstrap=yes build_style=gnu-configure configure_args="$(vopt_enable acl) $(vopt_enable acl xattr) @@ -17,6 +17,9 @@ license="BSD" distfiles="http://www.libarchive.org/downloads/libarchive-${version}.tar.gz" checksum=7bce45fd71ff01dc20d19edd78322d4965583d81b8bed8e26cacb65d6f5baa87 +# XXX wtf, configure.ac does not set this! +CFLAGS="-DHAVE_LZMA_STREAM_ENCODER_MT" + if [ "$CROSS_BUILD" ]; then hostmakedepends="automake libtool pkg-config" pre_configure() {