diff options
author | Sam James <sam@gentoo.org> | 2022-01-16 02:11:48 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-01-16 02:11:48 +0000 |
commit | dcefab179a1230eed77c6732e355a1e32edd1950 (patch) | |
tree | 8987c5f649e07bd856ae3be716b4ca7863a0e7d9 /dev-games | |
parent | sci-geosciences/grass: add GVERSION global var (diff) | |
download | gentoo-dcefab179a1230eed77c6732e355a1e32edd1950.tar.gz gentoo-dcefab179a1230eed77c6732e355a1e32edd1950.tar.bz2 gentoo-dcefab179a1230eed77c6732e355a1e32edd1950.zip |
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@gentoo.org>
Diffstat (limited to 'dev-games')
-rw-r--r-- | dev-games/ogre/ogre-1.9.0-r3.ebuild | 9 |
1 files 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 } |