A significantly improved version 1.2.0 of this neat little game has been available for a couple months. Reproducible: Always Steps to Reproduce:
Created attachment 36453 [details, diff] raptor2-1.2.0-update.diff First, there's already a raptor2-1.2.0.tar.gz on the Gentoo mirrors, so it seems that RESTRICT="nomirror" is necessary here. The chdir patch still applies cleanly. And because of the new save game feature, users in the games group need write access to /usr/share/games/raptor2. If this is a problem, let me know, and I'll see if I can patch the source to save games in ~/.raptor2/ or something instead.
Some comments: We don't remove keywords on a version bump without some really good reason. The patch needs to be bumped in CVS if it still applies. We don't usually hard-code patch names like that. Don't install COPYING unless the game really needs it. Allowing writes into GAMES_DATADIR is not allowed. The game will need to be patched to save games into the user's home directory.
*** Bug 93861 has been marked as a duplicate of this bug. ***
Any word on the savegame patch?
Created attachment 60997 [details, diff] 1.2.0-loadsave.patch I tried to create a patch. From what I can tell it SHOULD work, but I can't build raptor on my system (even without my changes is fails with the same error). So this patch might need a "mkdir()" for the save part, but I'm not sure about that.
Created attachment 61002 [details, diff] 1.2.0-loadsave.patch improved version ... does not work to well either, at least creating the folder does remove the segfault ... TODO: - check returns of mkdir - find out what is wrong why loading does not work ...
now in portage, thanks