games-puzzle/gemhun seems to have stagnated in development, but it is the only dependency for dev-games/kyra I could find, so I had to figure out a way to get it running on amd64. I'll attach a small patch below which enabled me to run it on both x86 and amd64 successfully (given having the amd64-patched kyra from bug #206127).
Created attachment 167187 [details, diff] patch to get games-puzzle/gemhun-20040529 running on amd64 gemhun-20040529-amd64.patch is a patch to get games-puzzle/gemhun-20040529 compiling and running on amd64. Real c/c++ experts better not look into my n00b, panicky solutions into force-casting the value behind a void* into an int on arches where sizeof(void*) apparently != sizeof(int) (or something). (Feel free to fix it into some better solution, that looks so bad it probably has a shorter, more clean way to do it.)
Created attachment 167189 [details] ebuild which applies the patch Updated the ebuild to apply the amd64-patch
segfaults on x86
Did it happen to print anything of interest on the console? I have not gotten a segfault out of this yet, but certainly (now testing on x86 some more), after a bit longer session it got stuck so bad (on x86) it required kill -9 to stop the process. The music score kept on looping on the background, but the graphics were stuck in the middle of an animation frame. I'll try to have a closer look on one of the coming weekends.
Hmmmm, it's something about the existing data in ~/.gemhun. If I remove ~/.gemhun, it doesn't segfault right away anymore.
Let's close this one as gemhun has been gone from the tree for a while now.