games-arcade/methane: build with gcc5 (bug #573788)
authorMichael Sterrett <mr_bones_@gentoo.org>
Fri, 1 Apr 2016 08:07:23 +0000 (04:07 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Fri, 1 Apr 2016 08:07:23 +0000 (04:07 -0400)
Package-Manager: portage-2.2.26

games-arcade/methane/methane-1.5.1.ebuild

index 18dacedf7f80020729a685a4f243fa514a6d3767..36af321efc9063c56be994e173a6962395960445 100644 (file)
@@ -1,15 +1,15 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Port from an old amiga game"
 HOMEPAGE="http://methane.sourceforge.net/"
 SRC_URI="mirror://sourceforge/${PN}/${P}.tgz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 x86"
 IUSE=""
@@ -26,6 +26,7 @@ src_prepare() {
 
        # fix weird parallel make issue wrt #450422
        mkdir build || die
+       append-cxxflags -Wno-narrowing # build with gcc5 (bug #573788)
 }
 
 src_install() {