1 |
commit: 56f42357d0ae0208813406989a847c2fa5d9812d |
2 |
Author: Peter Levine <plevine457 <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Jul 21 03:05:47 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 30 09:09:10 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f42357 |
7 |
|
8 |
games-arcade/criticalmass: Fix building with GCC-6 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/show_bug.cgi?id=612758 |
11 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
12 |
Closes: https://github.com/gentoo/gentoo/pull/5156 |
13 |
|
14 |
games-arcade/criticalmass/criticalmass-1.0.2.ebuild | 9 +++++++-- |
15 |
1 file changed, 7 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/games-arcade/criticalmass/criticalmass-1.0.2.ebuild b/games-arcade/criticalmass/criticalmass-1.0.2.ebuild |
18 |
index dfb5bb085d9..b3e5262bb5d 100644 |
19 |
--- a/games-arcade/criticalmass/criticalmass-1.0.2.ebuild |
20 |
+++ b/games-arcade/criticalmass/criticalmass-1.0.2.ebuild |
21 |
@@ -1,8 +1,8 @@ |
22 |
-# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Copyright 1999-2017 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI=5 |
27 |
-inherit autotools eutils games |
28 |
+inherit autotools eutils flag-o-matic games |
29 |
|
30 |
DESCRIPTION="SDL/OpenGL space shoot'em up game" |
31 |
HOMEPAGE="http://criticalmass.sourceforge.net/" |
32 |
@@ -32,6 +32,11 @@ src_prepare() { |
33 |
eautoreconf |
34 |
} |
35 |
|
36 |
+src_configure() { |
37 |
+ append-cxxflags -std=gnu++98 # Bug 612758 |
38 |
+ default |
39 |
+} |
40 |
+ |
41 |
src_install() { |
42 |
default |
43 |
rm -f "${D}${GAMES_BINDIR}/Packer" |