From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1609875-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 D9C0B158041
	for <garchives@archives.gentoo.org>; Mon, 11 Mar 2024 22:53:53 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 0D9C9E2A1E;
	Mon, 11 Mar 2024 22:53:53 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E7749E2A1E
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Mar 2024 22:53: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) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 139C5343007
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Mar 2024 22:53:52 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 554541514
	for <gentoo-commits@lists.gentoo.org>; Mon, 11 Mar 2024 22:53:50 +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: <1710197594.d9dce45487c3a80c68400fb690e86faaa4afe48f.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcroco/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libcroco/libcroco-0.6.13-r1.ebuild
X-VCS-Directories: dev-libs/libcroco/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: d9dce45487c3a80c68400fb690e86faaa4afe48f
X-VCS-Branch: master
Date: Mon, 11 Mar 2024 22:53:50 +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: 9b43a33d-b66d-4e60-8a0c-bc16f34a1058
X-Archives-Hash: 616a34ca6e632badc8f6b1e8b7ed7dad

commit:     d9dce45487c3a80c68400fb690e86faaa4afe48f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 11 22:52:41 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 11 22:53:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d9dce454

dev-libs/libcroco: filter LTO, no-SA

Archived upstream and a complicated situation with all the bundled copies too..

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

 dev-libs/libcroco/libcroco-0.6.13-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libcroco/libcroco-0.6.13-r1.ebuild b/dev-libs/libcroco/libcroco-0.6.13-r1.ebuild
index 5dc2cc6b45c7..519eb7148743 100644
--- a/dev-libs/libcroco/libcroco-0.6.13-r1.ebuild
+++ b/dev-libs/libcroco/libcroco-0.6.13-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit gnome2 multilib-minimal
+inherit flag-o-matic gnome2 multilib-minimal
 
 DESCRIPTION="Generic Cascading Style Sheet (CSS) parsing and manipulation toolkit"
 HOMEPAGE="https://gitlab.gnome.org/Archive/libcroco"
@@ -36,6 +36,14 @@ src_prepare() {
 	gnome2_src_prepare
 }
 
+src_configure() {
+	# bug #855704
+	append-flags -fno-strict-aliasing
+	filter-lto
+
+	gnome2_src_configure
+}
+
 multilib_src_configure() {
 	ECONF_SOURCE=${S} \
 	gnome2_src_configure \