commit:     e623d0417924e0989baefcd3292d59c22609b413
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 28 16:11:50 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Feb 28 16:36:18 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e623d041

app-arch/libarchive: eautoconf to fix makedev implicit decl

Bug: https://bugs.gentoo.org/898360
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 app-arch/libarchive/libarchive-3.6.1-r1.ebuild | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/app-arch/libarchive/libarchive-3.6.1-r1.ebuild 
b/app-arch/libarchive/libarchive-3.6.1-r1.ebuild
index 98013595c225..38a8df5f833c 100644
--- a/app-arch/libarchive/libarchive-3.6.1-r1.ebuild
+++ b/app-arch/libarchive/libarchive-3.6.1-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
-inherit multilib-minimal toolchain-funcs verify-sig
+
+inherit autotools multilib-minimal toolchain-funcs verify-sig
 
 DESCRIPTION="Multi-format archive and compression library"
 HOMEPAGE="https://www.libarchive.org/";
@@ -51,6 +52,13 @@ PATCHES=(
        "${FILESDIR}"/${P}-CVE-2022-36227.patch
 )
 
+src_prepare() {
+       # regenerate configure script to fix implicit includes
+       # https://bugs.gentoo.org/898360
+       eautoconf
+       default
+}
+
 multilib_src_configure() {
        export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923
 

Reply via email to