--- /usr/portage/games-board/gmchess/gmchess-0.29.6.ebuild 2012-02-17 02:31:14.000000000 +0700 +++ gmchess-0.29.6-r1.ebuild 2012-04-20 04:41:36.000000000 +0700 @@ -19,6 +19,10 @@ src_prepare() { sed -i -e '/Encoding=/d' data/${PN}.desktop.in || die + sed -i -e '128s%share%../&/games%' src/engine/eleeye.cpp || die + if use amd64; then + sed -i -e '38s%lib%&64%' src/engine/eleeye.cpp || die + fi } src_configure() {