Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/
Date: Tue, 28 Feb 2023 16:36:26
Message-Id: 1677602178.e623d0417924e0989baefcd3292d59c22609b413.mgorny@gentoo
1 commit: e623d0417924e0989baefcd3292d59c22609b413
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Feb 28 16:11:50 2023 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Feb 28 16:36:18 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e623d041
7
8 app-arch/libarchive: eautoconf to fix makedev implicit decl
9
10 Bug: https://bugs.gentoo.org/898360
11 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
12
13 app-arch/libarchive/libarchive-3.6.1-r1.ebuild | 12 ++++++++++--
14 1 file changed, 10 insertions(+), 2 deletions(-)
15
16 diff --git a/app-arch/libarchive/libarchive-3.6.1-r1.ebuild b/app-arch/libarchive/libarchive-3.6.1-r1.ebuild
17 index 98013595c225..38a8df5f833c 100644
18 --- a/app-arch/libarchive/libarchive-3.6.1-r1.ebuild
19 +++ b/app-arch/libarchive/libarchive-3.6.1-r1.ebuild
20 @@ -1,8 +1,9 @@
21 -# Copyright 1999-2022 Gentoo Authors
22 +# Copyright 1999-2023 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=8
26 -inherit multilib-minimal toolchain-funcs verify-sig
27 +
28 +inherit autotools multilib-minimal toolchain-funcs verify-sig
29
30 DESCRIPTION="Multi-format archive and compression library"
31 HOMEPAGE="https://www.libarchive.org/"
32 @@ -51,6 +52,13 @@ PATCHES=(
33 "${FILESDIR}"/${P}-CVE-2022-36227.patch
34 )
35
36 +src_prepare() {
37 + # regenerate configure script to fix implicit includes
38 + # https://bugs.gentoo.org/898360
39 + eautoconf
40 + default
41 +}
42 +
43 multilib_src_configure() {
44 export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923