commit: dcefab179a1230eed77c6732e355a1e32edd1950 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Jan 16 02:11:48 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 16 02:11:48 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcefab17
dev-games/ogre: workaround 1.9.0 USE=examples failure with GCC 11 Fixed properly in newer versions. Closes: https://bugs.gentoo.org/829253 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-games/ogre/ogre-1.9.0-r3.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/dev-games/ogre/ogre-1.9.0-r3.ebuild b/dev-games/ogre/ogre-1.9.0-r3.ebuild index 4adb836a28a4..cb80cd8c754e 100644 --- a/dev-games/ogre/ogre-1.9.0-r3.ebuild +++ b/dev-games/ogre/ogre-1.9.0-r3.ebuild @@ -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/" @@ -114,6 +114,11 @@ src_configure() { done fi + if use examples ; then + # bug #829253 + append-cxxflags -std=c++14 + fi + cmake_src_configure }
