commit:     1c63ac11dab43ee8b57fefdc442327288a638ca2
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 30 15:44:49 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Mar 30 16:11:10 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c63ac11

games-puzzle/ltris: build with gcc5 (bug #570966)

Package-Manager: portage-2.2.26

 games-puzzle/ltris/ltris-1.0.19.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games-puzzle/ltris/ltris-1.0.19.ebuild 
b/games-puzzle/ltris/ltris-1.0.19.ebuild
index 8cf203d..8636646 100644
--- a/games-puzzle/ltris/ltris-1.0.19.ebuild
+++ b/games-puzzle/ltris/ltris-1.0.19.ebuild
@@ -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() {

Reply via email to