From fc63cf705180dd9f91efa1f0e9bed713d865423b Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 1 Apr 2024 01:27:28 -0400 Subject: [PATCH] mate-base/caja: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/926751 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- mate-base/caja/caja-1.26.3.ebuild | 7 ++++++- mate-base/caja/caja-1.27.2.ebuild | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/mate-base/caja/caja-1.26.3.ebuild b/mate-base/caja/caja-1.26.3.ebuild index d5d38fb076378..ac48b892bf789 100644 --- a/mate-base/caja/caja-1.26.3.ebuild +++ b/mate-base/caja/caja-1.26.3.ebuild @@ -5,7 +5,7 @@ EAPI=8 MATE_LA_PUNT="yes" -inherit mate +inherit flag-o-matic mate MINOR=$(($(ver_cut 2) % 2)) if [[ ${MINOR} -eq 0 ]]; then @@ -67,6 +67,11 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/926751 + # https://github.com/mate-desktop/caja/issues/1774 + append-flags -fno-strict-aliasing + filter-lto + mate_src_configure \ --disable-update-mimedb \ $(use_enable introspection) \ diff --git a/mate-base/caja/caja-1.27.2.ebuild b/mate-base/caja/caja-1.27.2.ebuild index d610e6043e963..139ea62e6bbd0 100644 --- a/mate-base/caja/caja-1.27.2.ebuild +++ b/mate-base/caja/caja-1.27.2.ebuild @@ -5,7 +5,7 @@ EAPI=8 MATE_LA_PUNT="yes" -inherit mate +inherit flag-o-matic mate MINOR=$(($(ver_cut 2) % 2)) if [[ ${MINOR} -eq 0 ]]; then @@ -69,6 +69,11 @@ src_prepare() { } src_configure() { + # https://bugs.gentoo.org/926751 + # https://github.com/mate-desktop/caja/issues/1774 + append-flags -fno-strict-aliasing + filter-lto + mate_src_configure \ --disable-update-mimedb \ $(use_enable introspection) \