From 6690a2fb685266e83efba6707f653d37a6b72d16 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 20 Mar 2014 16:01:42 +0100 Subject: [PATCH] libarchive: override ac_cv_func_lchmod detection mostly for musl builds. The issue is that lchmod() is implemented in musl but returns ENOTSUP on symlinks and the libarchive returns warnings when extracting files. Override lchmod detection and simple disable it for musl too (such as with glibc). --- srcpkgs/libarchive/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/libarchive/template b/srcpkgs/libarchive/template index dcb8cd56a7..1a27dd4a24 100644 --- a/srcpkgs/libarchive/template +++ b/srcpkgs/libarchive/template @@ -4,7 +4,7 @@ version=3.1.2 revision=5 bootstrap=yes build_style=gnu-configure -configure_args="--without-xml2 --without-nettle --disable-rpath" +configure_args="--without-xml2 --without-nettle --disable-rpath ac_cv_func_lchmod=no" makedepends="zlib-devel bzip2-devel liblzma-devel" short_desc="Library to read/write several different streaming archive formats" maintainer="Juan RP "