games-arcade/criticalmass: Fix building with GCC-6
authorPeter Levine <plevine457@gmail.com>
Fri, 21 Jul 2017 03:05:47 +0000 (23:05 -0400)
committerDavid Seifert <soap@gentoo.org>
Sun, 30 Jul 2017 09:09:10 +0000 (11:09 +0200)
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

index dfb5bb085d9b7ddadf80f7693b32906399c414be..b3e5262bb5d1b45b7ed57ab1603b5d174758646c 100644 (file)
@@ -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"