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.
This commit is contained in:
Mike Frysinger
2015-10-07 10:51:25 -04:00
parent b13e412dc2
commit e121815fa3

View File

@@ -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() {