Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gnubg/
Date: Wed, 07 Oct 2015 14:52:15
Message-Id: 1444229517.e121815fa352616db9031e5c366065c577795b22.vapier@gentoo
1 commit: e121815fa352616db9031e5c366065c577795b22
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed Oct 7 14:51:25 2015 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed Oct 7 14:51:57 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e121815f
7
8 games-boards/gnubg: fix building w/gcc-5 #551896
9
10 This is mostly a hack around broken gnubg headers, but it works, and
11 upstream has been notified of the problem, so let them sort it out.
12
13 games-board/gnubg/gnubg-1.05.000.ebuild | 3 +++
14 1 file changed, 3 insertions(+)
15
16 diff --git a/games-board/gnubg/gnubg-1.05.000.ebuild b/games-board/gnubg/gnubg-1.05.000.ebuild
17 index 90c280a..1399aa9 100644
18 --- a/games-board/gnubg/gnubg-1.05.000.ebuild
19 +++ b/games-board/gnubg/gnubg-1.05.000.ebuild
20 @@ -55,6 +55,9 @@ src_prepare() {
21 -e '/^gnubgiconsdir / s#=.*#= /usr/share#' \
22 -e '/^gnubgpixmapsdir / s#=.*#= /usr/share/pixmaps#' \
23 pixmaps/Makefile.in || die
24 + sed -i \
25 + -e '1i#include <config.h>' \
26 + copying.c || die #551896
27 }
28
29 src_configure() {