commit:     5447acb2b36c8c75a5faee7908778fc916547409
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 31 08:46:18 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Thu Mar 31 08:46:34 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5447acb2

games-action/koth: build with gcc5 (bug #570730)

Package-Manager: portage-2.2.26

 games-action/koth/koth-0.8.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games-action/koth/koth-0.8.0.ebuild 
b/games-action/koth/koth-0.8.0.ebuild
index 0bbe48f..eea7122 100644
--- a/games-action/koth/koth-0.8.0.ebuild
+++ b/games-action/koth/koth-0.8.0.ebuild
@@ -1,9 +1,9 @@
-# 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 eutils games
+inherit eutils flag-o-matic games
 
 DESCRIPTION="Multiplayer, networked game of little tanks with really big 
weapons"
 HOMEPAGE="http://www.nongnu.org/koth/";
@@ -23,6 +23,7 @@ src_prepare() {
        epatch "${FILESDIR}"/${P}-gcc-3.4.patch
        sed -i "s:/etc/koth:${GAMES_SYSCONFDIR}:" cfgfile.h || die
        sed -i 's:(uint16):(uint16_t):' gfx.c gfx.h || die
+       append-cflags -std=gnu89 # build with gcc5 (bug #570730)
 }
 
 src_install() {

Reply via email to