projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13e412
)
games-boards/gnubg: fix building w/gcc-5 #551896
author
Mike Frysinger
<vapier@gentoo.org>
Wed, 7 Oct 2015 14:51:25 +0000
(10:51 -0400)
committer
Mike Frysinger
<vapier@gentoo.org>
Wed, 7 Oct 2015 14:51:57 +0000
(10:51 -0400)
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
patch
|
blob
|
history
diff --git
a/games-board/gnubg/gnubg-1.05.000.ebuild
b/games-board/gnubg/gnubg-1.05.000.ebuild
index 90c280ab76a5cad16a1fe5fd7bfda927ec54a8a2..1399aa905ca0ae03172e476620ce55b14ae49bd1 100644
(file)
--- 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() {