Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87502 - Patch for Level-Editor in Frozen-Bubble
Summary: Patch for Level-Editor in Frozen-Bubble
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 21:54 UTC by Jakub Sadowski
Modified: 2005-05-08 21:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for FBLE.pm frozen-bubble perl module (FBLE.pm.patch.gz,648 bytes, patch)
2005-03-31 21:59 UTC, Jakub Sadowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Sadowski 2005-03-31 21:54:24 UTC
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.
Comment 1 Jakub Sadowski 2005-03-31 21:59:44 UTC
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.
Comment 2 Jakub Sadowski 2005-03-31 22:01:45 UTC
Attached patch should fix problem.  Needs testing as I am not a perl programmer.
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2005-04-01 00:37:24 UTC
we resolve bugs on this end.
Comment 4 SpanKY gentoo-dev 2005-04-01 15:22:37 UTC
this patch is already in cvs
Comment 5 Jakub Sadowski 2005-04-03 21:57:13 UTC
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.
Comment 6 Jonathan 2005-04-04 21:53:20 UTC
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.
Comment 7 SpanKY gentoo-dev 2005-05-08 21:21:54 UTC
thanks, added that patch and more to 1.0.0-r5