From e121815fa352616db9031e5c366065c577795b22 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 7 Oct 2015 10:51:25 -0400 Subject: [PATCH] games-boards/gnubg: fix building w/gcc-5 #551896 This is mostly a hack around broken gnubg headers, but it works, and upstream has been notified of the problem, so let them sort it out. --- games-board/gnubg/gnubg-1.05.000.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games-board/gnubg/gnubg-1.05.000.ebuild b/games-board/gnubg/gnubg-1.05.000.ebuild index 90c280ab76a5..1399aa905ca0 100644 --- a/games-board/gnubg/gnubg-1.05.000.ebuild +++ b/games-board/gnubg/gnubg-1.05.000.ebuild @@ -55,6 +55,9 @@ src_prepare() { -e '/^gnubgiconsdir / s#=.*#= /usr/share#' \ -e '/^gnubgpixmapsdir / s#=.*#= /usr/share/pixmaps#' \ pixmaps/Makefile.in || die + sed -i \ + -e '1i#include ' \ + copying.c || die #551896 } src_configure() { -- 2.26.2