games-fps/quakeforge: build with gcc5 (bug #570392)
authorMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Mar 2016 23:27:45 +0000 (19:27 -0400)
committerMichael Sterrett <mr_bones_@gentoo.org>
Thu, 31 Mar 2016 23:30:02 +0000 (19:30 -0400)
Package-Manager: portage-2.2.26

games-fps/quakeforge/quakeforge-0.7.2.ebuild

index 91a109daa133fae6941e71881ed655359096a765..1bcffe26f361fe7054aa2585bf0c49faccc3dffd 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
 EAPI=5
-inherit eutils autotools games
+inherit eutils flag-o-matic autotools games
 
 DESCRIPTION="new 3d engine based off of id Softwares's Quake and QuakeWorld game engine"
 HOMEPAGE="http://www.quakeforge.net/"
@@ -47,6 +47,7 @@ DEPEND="${RDEPEND}
 src_prepare() {
        epatch "${FILESDIR}"/${P}-gentoo.patch
        eautoreconf
+       append-cflags -std=gnu89 # build with gcc5 (bug #570392)
 }
 
 src_configure() {