From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CA616158041 for ; Thu, 29 Feb 2024 07:15:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0C627E29BE; Thu, 29 Feb 2024 07:15:53 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A3529E29BE for ; Thu, 29 Feb 2024 07:15:52 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BE39533BE00 for ; Thu, 29 Feb 2024 07:15:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13B2214BE for ; Thu, 29 Feb 2024 07:15:50 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1709190933.4c325e846f72b64ff3e73e9f3c4567c508da21e9.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/libarchive/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/libarchive/libarchive-3.7.2-r2.ebuild X-VCS-Directories: app-arch/libarchive/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 4c325e846f72b64ff3e73e9f3c4567c508da21e9 X-VCS-Branch: master Date: Thu, 29 Feb 2024 07:15:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1d1e6ced-8ce5-4051-9cbe-5139b0f41a49 X-Archives-Hash: 9dacf70d19cf31fb0cec404473f11034 commit: 4c325e846f72b64ff3e73e9f3c4567c508da21e9 Author: Sam James gentoo org> AuthorDate: Thu Feb 29 07:14:43 2024 +0000 Commit: Sam James gentoo org> CommitDate: Thu Feb 29 07:15:33 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c325e84 app-arch/libarchive: elibtoolize to respect flags w/ LTO Our elt-patches contain fixes to respect LTO properly: ``` * Running elibtoolize in: libarchive-3.7.2/ * Applying ppc64le/2.4.4 patch ... * Running elibtoolize in: libarchive-3.7.2/build/autoconf/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... * Applying werror/2.4.6 patch ... * Applying cxx-pthread/2.4.6 patch ... * Applying color-record/2.4.6-alt patch ... * Applying sed-quote/2.4.6 patch ... ``` Signed-off-by: Sam James gentoo.org> app-arch/libarchive/libarchive-3.7.2-r2.ebuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app-arch/libarchive/libarchive-3.7.2-r2.ebuild b/app-arch/libarchive/libarchive-3.7.2-r2.ebuild index c4c3526547e1..690f6b400ac8 100644 --- a/app-arch/libarchive/libarchive-3.7.2-r2.ebuild +++ b/app-arch/libarchive/libarchive-3.7.2-r2.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit multilib-minimal toolchain-funcs verify-sig +inherit libtool multilib-minimal toolchain-funcs verify-sig DESCRIPTION="Multi-format archive and compression library" HOMEPAGE=" @@ -78,6 +78,13 @@ PATCHES=( "${FILESDIR}/${P}-lrzip.patch" ) +src_prepare() { + default + + # Needed for flags to be respected w/ LTO + elibtoolize +} + multilib_src_configure() { export ac_cv_header_ext2fs_ext2_fs_h=$(usex e2fsprogs) #354923