From 56f42357d0ae0208813406989a847c2fa5d9812d Mon Sep 17 00:00:00 2001 From: Peter Levine Date: Thu, 20 Jul 2017 23:05:47 -0400 Subject: games-arcade/criticalmass: Fix building with GCC-6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=612758 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/5156 --- games-arcade/criticalmass/criticalmass-1.0.2.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'games-arcade/criticalmass') diff --git a/games-arcade/criticalmass/criticalmass-1.0.2.ebuild b/games-arcade/criticalmass/criticalmass-1.0.2.ebuild index dfb5bb085d9b..b3e5262bb5d1 100644 --- a/games-arcade/criticalmass/criticalmass-1.0.2.ebuild +++ b/games-arcade/criticalmass/criticalmass-1.0.2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit autotools eutils games +inherit autotools eutils flag-o-matic games DESCRIPTION="SDL/OpenGL space shoot'em up game" HOMEPAGE="http://criticalmass.sourceforge.net/" @@ -32,6 +32,11 @@ src_prepare() { eautoreconf } +src_configure() { + append-cxxflags -std=gnu++98 # Bug 612758 + default +} + src_install() { default rm -f "${D}${GAMES_BINDIR}/Packer" -- cgit v1.2.3-65-gdbad