Skip to content

Commit

Permalink
dev-games/ogre: workaround 1.9.0 USE=examples failure with GCC 11
Browse files Browse the repository at this point in the history
Fixed properly in newer versions.

Closes: https://bugs.gentoo.org/829253
Signed-off-by: Sam James <[email protected]>
  • Loading branch information
thesamesam committed Jan 16, 2022
1 parent 07f7fc6 commit dcefab1
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions dev-games/ogre/ogre-1.9.0-r3.ebuild
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

CMAKE_REMOVE_MODULES_LIST="FindFreetype FindDoxygen FindZLIB"

inherit cmake vcs-snapshot
inherit cmake flag-o-matic vcs-snapshot

DESCRIPTION="Object-oriented Graphics Rendering Engine"
HOMEPAGE="https://www.ogre3d.org/"
Expand Down Expand Up @@ -114,6 +114,11 @@ src_configure() {
done
fi

if use examples ; then
# bug #829253
append-cxxflags -std=c++14
fi

cmake_src_configure
}

Expand Down

0 comments on commit dcefab1

Please sign in to comment.