Skip to content

Commit

Permalink
games-arcade/criticalmass: Fix building with GCC-6
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/show_bug.cgi?id=612758
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Closes: gentoo#5156
  • Loading branch information
Peter-Levine authored and SoapGentoo committed Jul 30, 2017
1 parent 10c51f9 commit 56f4235
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions games-arcade/criticalmass/criticalmass-1.0.2.ebuild
Original file line number Diff line number Diff line change
@@ -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/"
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit 56f4235

Please sign in to comment.