diff options
author | 2005-04-03 17:16:06 +0000 | |
---|---|---|
committer | 2005-04-03 17:16:06 +0000 | |
commit | c8762830ee53b914b1224447832cb520378f3085 (patch) | |
tree | f9964dda54c187c1725652db5ffd3da32d9756b3 /games-arcade | |
parent | Add missing dependencies (#87156). (diff) | |
download | gentoo-2-c8762830ee53b914b1224447832cb520378f3085.tar.gz gentoo-2-c8762830ee53b914b1224447832cb520378f3085.tar.bz2 gentoo-2-c8762830ee53b914b1224447832cb520378f3085.zip |
update sdl-perl-2 patch
(Portage version: 2.0.51.19)
Diffstat (limited to 'games-arcade')
-rw-r--r-- | games-arcade/frozen-bubble/files/frozen-bubble-1.0.0-sdl-perl-2.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/games-arcade/frozen-bubble/files/frozen-bubble-1.0.0-sdl-perl-2.patch b/games-arcade/frozen-bubble/files/frozen-bubble-1.0.0-sdl-perl-2.patch index 0c2d8c0b252f..4355edb3b74e 100644 --- a/games-arcade/frozen-bubble/files/frozen-bubble-1.0.0-sdl-perl-2.patch +++ b/games-arcade/frozen-bubble/files/frozen-bubble-1.0.0-sdl-perl-2.patch @@ -52,6 +52,18 @@ http://bugs.gentoo.org/show_bug.cgi?id=74844 $sound{$_}->volume(80); } else { print STDERR "Warning, could not create new sound from `$sound_path'.\n"; +@@ -233,6 +233,11 @@ + + #- ----------- graphics related stuff -------------------------------------- + ++# Perhaps this should be exported by SDL::SFont ++sub SDL_TEXTWIDTH { ++ SDL::SFont::SDL_TEXTWIDTH(@_); ++} ++ + sub add_default_rect($) { + my ($surface) = @_; + $rects{$surface} = SDL::Rect->new(-width => $surface->width, -height => $surface->height); @@ -304,10 +304,28 @@ return $save; } |