From: Mike Frysinger Date: Wed, 7 Oct 2015 14:51:25 +0000 (-0400) Subject: games-boards/gnubg: fix building w/gcc-5 #551896 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e121815fa352616db9031e5c366065c577795b22;p=gentoo.git 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. --- 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() {