diff options
author | 2021-06-10 06:19:35 -0400 | |
---|---|---|
committer | 2021-06-10 07:51:42 -0400 | |
commit | 5b5f4cc8dc131511fda89d87b8458707c4d1b1c0 (patch) | |
tree | 16cc6de3db4df872767ccd90efaff98a1f3de145 /games-kids/tuxtype/files | |
parent | games-kids/tuxmath: EAPI-7, -fno-common, and crash fix (diff) | |
download | gentoo-5b5f4cc8dc131511fda89d87b8458707c4d1b1c0.tar.gz gentoo-5b5f4cc8dc131511fda89d87b8458707c4d1b1c0.tar.bz2 gentoo-5b5f4cc8dc131511fda89d87b8458707c4d1b1c0.zip |
games-kids/tuxtype: fix missing text, force pango, tidy
Removed unused t4k-common dep given this package hasn't been migrated
to use it yet (upstream snapshot only has work-in-progress support).
This means needed to bring the t4k-common fix for missing text here.
Removed IUSE:
- svg: this is only work-in-progress code with no real use for now
- pango: sdl-ttf code is seeing neglect and upstream only really
use/test sdl-pango, forcing brings this in-line with t4k-common
and allows to remove bundled fonts.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-kids/tuxtype/files')
-rw-r--r-- | games-kids/tuxtype/files/tuxtype-1.8.3-missing-text.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/games-kids/tuxtype/files/tuxtype-1.8.3-missing-text.patch b/games-kids/tuxtype/files/tuxtype-1.8.3-missing-text.patch new file mode 100644 index 000000000000..9553cfa89843 --- /dev/null +++ b/games-kids/tuxtype/files/tuxtype-1.8.3-missing-text.patch @@ -0,0 +1,15 @@ +Fix some missing (transparent) text with libsdl-1.2.15_p20210224. +Same issue as t4k-common-0.1.1 given tuxtype shares the same +code and wasn't migrated to support the separate library yet. +--- a/src/SDL_extras.c ++++ b/src/SDL_extras.c +@@ -1297,3 +1297,3 @@ + /* Use color key for eventual transparency: */ +- color_key = SDL_MapRGB(bg->format, 01, 01, 01); ++ color_key = SDL_MapRGBA(bg->format, 01, 01, 01, 0xff); + SDL_FillRect(bg, NULL, color_key); +@@ -1344,3 +1344,3 @@ + SDL_SetColorKey(bg, SDL_SRCCOLORKEY|SDL_RLEACCEL, color_key); +- out = SDL_DisplayFormatAlpha(bg); ++ out = SDL_DisplayFormat(bg); + SDL_FreeSurface(bg); |