From 0b360332de4c8f4ab442180cb9312262733b4cad Mon Sep 17 00:00:00 2001 From: Peter Levine Date: Sat, 14 Oct 2017 23:52:48 -0400 Subject: games-roguelike/powder: Fix building with GCC-6 Closes: https://bugs.gentoo.org/598928 Closes: https://github.com/gentoo/gentoo/pull/5949 Package-Manager: Portage-2.3.10, Repoman-2.3.3 --- games-roguelike/powder/powder-117-r1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'games-roguelike/powder/powder-117-r1.ebuild') diff --git a/games-roguelike/powder/powder-117-r1.ebuild b/games-roguelike/powder/powder-117-r1.ebuild index b0199fe9fa0d..e7c6acc40057 100644 --- a/games-roguelike/powder/powder-117-r1.ebuild +++ b/games-roguelike/powder/powder-117-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -20,6 +20,8 @@ RDEPEND=${DEPEND} S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${PN}-117-gcc6.patch ) + src_compile() { append-cxxflags -DCHANGE_WORK_DIRECTORY emake -C port/linux premake -- cgit v1.2.3-65-gdbad