From 5bcbe7a421e108bfea3b77723040f37d87741dae Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sat, 1 Jun 2024 01:28:23 -0400 Subject: [PATCH] games-strategy/freeorion: limit boost workaround to 1.85.0 Been confirmed that the issue is in boost itself, so there's no reason to always do this. Odds are will be fixed if there is a -r1 too, so preemptively limit to -r0 too. Bug: https://bugs.gentoo.org/932780 Signed-off-by: Ionen Wolkens --- games-strategy/freeorion/freeorion-0.5.0.1-r1.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/games-strategy/freeorion/freeorion-0.5.0.1-r1.ebuild b/games-strategy/freeorion/freeorion-0.5.0.1-r1.ebuild index 60ff58559cb2f..f7d5cad3ef66e 100644 --- a/games-strategy/freeorion/freeorion-0.5.0.1-r1.ebuild +++ b/games-strategy/freeorion/freeorion-0.5.0.1-r1.ebuild @@ -78,9 +78,12 @@ src_prepare() { } src_configure() { - append-flags -fno-strict-aliasing #932780 filter-lto # -Werror=odr issues + # TODO: drop this after boost-1.85.0-r0 been gone for some time + has_version =dev-libs/boost-1.85.0-r0 && + append-flags -fno-strict-aliasing #932780,933289 + local mycmakeargs=( -DCCACHE_PROGRAM=no -DBUILD_CLIENT_GG=$(usex client)