diff options
author | Ian Jordan <immoloism@gmail.com> | 2023-07-19 15:26:58 +0000 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-07-19 20:30:57 +0200 |
commit | 436a86c6ba463931212876d2ed96d067f20d378e (patch) | |
tree | 3a055aa1e0d693582431af9f5ac35b170d3e606b /app-arch/libarchive/libarchive-3.7.0.ebuild | |
parent | app-portage/pfl: add 3.2.1 (diff) | |
download | gentoo-436a86c6ba463931212876d2ed96d067f20d378e.tar.gz gentoo-436a86c6ba463931212876d2ed96d067f20d378e.tar.bz2 gentoo-436a86c6ba463931212876d2ed96d067f20d378e.zip |
app-arch/libarchive: fix build on musl
Cherrypicked patch from master repo to fix compiling 3.7.0
under musl. Tested with both GCC and LLVM.
Also added BDEP for sys-libs/queue-standalone for this version.
Closes: https://bugs.gentoo.org/910552
Signed-off-by: Ian Jordan <immoloism@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/31959
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'app-arch/libarchive/libarchive-3.7.0.ebuild')
-rw-r--r-- | app-arch/libarchive/libarchive-3.7.0.ebuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app-arch/libarchive/libarchive-3.7.0.ebuild b/app-arch/libarchive/libarchive-3.7.0.ebuild index d6d88d91c98f..0346154a7172 100644 --- a/app-arch/libarchive/libarchive-3.7.0.ebuild +++ b/app-arch/libarchive/libarchive-3.7.0.ebuild @@ -46,8 +46,14 @@ DEPEND="${RDEPEND} " BDEPEND=" verify-sig? ( >=sec-keys/openpgp-keys-libarchive-20221209 ) + elibc_musl? ( sys-libs/queue-standalone ) " +# Bug #910552 Only required for version 3.7.0 +PATCHES=( + "${FILESDIR}/${P}-f_namemax-fix.patch" +) + # false positives (checks for libc-defined hash functions) QA_CONFIG_IMPL_DECL_SKIP=( SHA256_Init SHA256_Update SHA256_Final |