commit: e121815fa352616db9031e5c366065c577795b22 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> AuthorDate: Wed Oct 7 14:51:25 2015 +0000 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> CommitDate: Wed Oct 7 14:51:57 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e121815f
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 90c280a..1399aa9 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 <config.h>' \ + copying.c || die #551896 } src_configure() {