commit:     5bcbe7a421e108bfea3b77723040f37d87741dae
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  1 05:28:23 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jun  1 05:31:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bcbe7a4

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 <ionen <AT> gentoo.org>

 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 60ff58559cb2..f7d5cad3ef66 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)

Reply via email to