games-puzzle/ltris: build with gcc5 (bug #570966)
authorMichael Sterrett <mr_bones_@gentoo.org>
Wed, 30 Mar 2016 15:44:49 +0000 (11:44 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Wed, 30 Mar 2016 16:11:10 +0000 (12:11 -0400)
Package-Manager: portage-2.2.26

games-puzzle/ltris/ltris-1.0.19.ebuild

index 8cf203d4f4fa6b52a56873e16c166d5ce5903ae4..86366465c67f0cfecce73e07eeabdf475aa5b0f0 100644 (file)
@@ -1,15 +1,15 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit autotools eutils games
+inherit autotools flag-o-matic eutils games
 
 DESCRIPTION="very polished Tetris clone"
 HOMEPAGE="http://lgames.sourceforge.net/index.php?project=LTris"
 SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz"
 
-LICENSE="GPL-2"
+LICENSE="GPL-2+"
 SLOT="0"
 KEYWORDS="amd64 ppc x86"
 IUSE="nls"
@@ -24,6 +24,7 @@ src_prepare() {
        epatch "${FILESDIR}"/${P}-gentoo.patch
        mv configure.in configure.ac || die
        AT_M4DIR=m4 eautoreconf
+       append-cflags -std=gnu89 # build with gcc5 (bug #570966)
 }
 
 src_configure() {