Frozen bubble (1.0.0 series) has always crashed with the following error message after a custom level is made in the level editor: Not a HASH reference at usr/lib/perl5/site_perl/5.8.6/i686-linux-thread-multi/FBLE.pm line 1097.
Created attachment 54996 [details, diff] Patch for FBLE.pm frozen-bubble perl module Patch fixes bug in level editor. Does this by checking objects (rect and surface) type for 'HASH' and passing back hash if it is one, otherwise passes the whole object back. I am not a perl programmer so I would like this patch tested.
Attached patch should fix problem. Needs testing as I am not a perl programmer.
we resolve bugs on this end.
this patch is already in cvs
I see no such patch in http://www.gentoo.org/cgi-bin/viewcvs.cgi/games-arcade/frozen-bubble/files/ This patch is similar to "frozen-bubble-1.0.0-sdl-perl-2.patch" but it is not the same. That patch addresses an incorrect typecasting in the "frozen-bubble" executable which occurs if you upgrade to >perl-SDL-1.20.3 while this patch addresses incorrect typecasting in the FBLE.pm (level-editor) perl module. While the solutions are similar it is not the same problem. Please review again and then confirm or close this report, thank you.
The patch to "fix" fb for sdl-perl 2.1 has been emerged on the stable frozen-bubble ebuild on my amd64 machine. Since sdl-perl 2.1 is marked unstable on amd64, it broke my game. I hard-removed the patch, but this needs to be fixed a bit better than it is.
thanks, added that patch and more to 1.0.0-r5