From 5447acb2b36c8c75a5faee7908778fc916547409 Mon Sep 17 00:00:00 2001 From: Michael Sterrett Date: Thu, 31 Mar 2016 04:46:18 -0400 Subject: [PATCH] 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 0bbe48f16ffa..eea7122cf3da 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() { -- 2.26.2