Here is the ebuild and patch for Koules, an amusing X and svgalib game. Note 1: I only have tested X version, but svgalib should work too, as I've copy/past parts of lincity ebuild for support of svgalib. Note 2: The name of the patch is rather badly chousen as it do some more to gcc3 compatibility. I've done some code update toward current svgalib code.
Created attachment 11311 [details] ebuild
Created attachment 11312 [details, diff] patch
added to cvs but i tweaked the ebuild a lot for games.eclass support and other stuff thanks for your ebuild/patch :)