From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1545336-garchives=archives.gentoo.org@lists.gentoo.org>
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 9013315800A
	for <garchives@archives.gentoo.org>; Sun, 13 Aug 2023 08:08:39 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 894342BC01F;
	Sun, 13 Aug 2023 08:08:38 +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 6D99B2BC01F
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 08:08:38 +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 76C43340DB5
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 08:08:37 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id F11ABF75
	for <gentoo-commits@lists.gentoo.org>; Sun, 13 Aug 2023 08:08:35 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
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" <sam@gentoo.org>
Message-ID: <1691914095.cb7ef59c5e93ae0cc20242c9154160c39e19de45.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/gnupg/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-crypt/gnupg/gnupg-2.2.41.ebuild app-crypt/gnupg/gnupg-2.4.2-r1.ebuild app-crypt/gnupg/gnupg-2.4.3.ebuild
X-VCS-Directories: app-crypt/gnupg/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: cb7ef59c5e93ae0cc20242c9154160c39e19de45
X-VCS-Branch: master
Date: Sun, 13 Aug 2023 08:08:35 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: e7c27e94-c6c3-4e0e-a1d9-c99d724b5bad
X-Archives-Hash: 1ab8d6d5b6629efe3b562bf828a0189b

commit:     cb7ef59c5e93ae0cc20242c9154160c39e19de45
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 13 08:08:15 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 13 08:08:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb7ef59c

app-crypt/gnupg: filter-lto

Unsupported by upstream and warnings indicating that it's unsafe are unfixed.

Closes: https://bugs.gentoo.org/854222
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-crypt/gnupg/gnupg-2.2.41.ebuild   | 3 +++
 app-crypt/gnupg/gnupg-2.4.2-r1.ebuild | 3 +++
 app-crypt/gnupg/gnupg-2.4.3.ebuild    | 3 +++
 3 files changed, 9 insertions(+)

diff --git a/app-crypt/gnupg/gnupg-2.2.41.ebuild b/app-crypt/gnupg/gnupg-2.2.41.ebuild
index d6120e2f3435..85527232bafd 100644
--- a/app-crypt/gnupg/gnupg-2.2.41.ebuild
+++ b/app-crypt/gnupg/gnupg-2.2.41.ebuild
@@ -81,6 +81,9 @@ src_prepare() {
 }
 
 my_src_configure() {
+	# Upstream don't support LTO, bug #854222.
+	filter-lto
+
 	local myconf=(
 		$(use_enable bzip2)
 		$(use_enable nls)

diff --git a/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild b/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild
index 6fd1932406ef..23f05b57b242 100644
--- a/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild
+++ b/app-crypt/gnupg/gnupg-2.4.2-r1.ebuild
@@ -96,6 +96,9 @@ src_prepare() {
 }
 
 my_src_configure() {
+	# Upstream don't support LTO, bug #854222.
+	filter-lto
+
 	local myconf=(
 		$(use_enable bzip2)
 		$(use_enable nls)

diff --git a/app-crypt/gnupg/gnupg-2.4.3.ebuild b/app-crypt/gnupg/gnupg-2.4.3.ebuild
index a8fed477d30e..7317dc4c1bda 100644
--- a/app-crypt/gnupg/gnupg-2.4.3.ebuild
+++ b/app-crypt/gnupg/gnupg-2.4.3.ebuild
@@ -97,6 +97,9 @@ src_prepare() {
 }
 
 my_src_configure() {
+	# Upstream don't support LTO, bug #854222.
+	filter-lto
+
 	local myconf=(
 		$(use_enable bzip2)
 		$(use_enable nls)