From 1f7d2ab53952c3b003278d0eb3edb8ddc1ae45d4 Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Mon, 25 Mar 2024 00:47:55 -0400 Subject: games-kids/memonix: mark as LTO-unsafe, strict-aliasing unsafe Closes: https://bugs.gentoo.org/858782 Signed-off-by: Eli Schwartz Signed-off-by: Sam James --- games-kids/memonix/memonix-1.6-r1.ebuild | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'games-kids') diff --git a/games-kids/memonix/memonix-1.6-r1.ebuild b/games-kids/memonix/memonix-1.6-r1.ebuild index f21368cfc488..9cb2034ef1ba 100644 --- a/games-kids/memonix/memonix-1.6-r1.ebuild +++ b/games-kids/memonix/memonix-1.6-r1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit cmake desktop wrapper +inherit cmake desktop flag-o-matic wrapper DESCRIPTION="Brain teasers, puzzle and memory games for kid's in one pack" HOMEPAGE="https://www.viewizard.com/memonix/" @@ -21,6 +21,17 @@ RDEPEND=" " DEPEND="${RDEPEND}" +src_configure() { + # -Werror=strict-aliasing + # https://bugs.gentoo.org/858782 + # + # Upstream site has been taken down for a long time. + append-flags -fno-strict-aliasing + filter-lto + + cmake_src_configure +} + src_install() { exeinto /usr/"$(get_libdir)" doexe ../${P}_build/Memonix -- cgit v1.2.3-65-gdbad