From d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 15 Jun 2021 14:57:03 +0100 Subject: gentoo resync : 15.06.2021 --- .../tuxtype/files/tuxtype-1.8.3-missing-text.patch | 15 +++++++++++++++ .../tuxtype/files/tuxtype-1.8.3-t4kcommon.patch | 20 ++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 games-kids/tuxtype/files/tuxtype-1.8.3-missing-text.patch create mode 100644 games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch (limited to 'games-kids/tuxtype/files') 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); diff --git a/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch b/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch new file mode 100644 index 000000000000..14ded5619041 --- /dev/null +++ b/games-kids/tuxtype/files/tuxtype-1.8.3-t4kcommon.patch @@ -0,0 +1,20 @@ +This was added ahead of time (for next version), currently unused. +--- a/configure.ac ++++ b/configure.ac +@@ -249,16 +249,4 @@ + dnl libt4kcommon is now required: -------------------------------------------- + +-PKG_CHECK_MODULES([T4K_COMMON], +- [t4k_common], +- [], +- [AC_MSG_NOTICE([t4k_common not located by pkg-config, checking with AC CHECK LIB:]) +- AC_CHECK_LIB([t4k_common], +- [InitT4KCommon], +- [], +- [AC_MSG_ERROR([libt4k_common is required: git://git.debian.org/tux4kids/t4kcommon.git])])]) +- +-AC_DEFINE([HAVE_LIBT4K_COMMON],[1],[Define to 1 if you have the `t4k_common` library]) +-CFLAGS="$CFLAGS $T4K_COMMON_CFLAGS" +-LIBS="$LIBS $T4K_COMMON_LIBS" + + -- cgit v1.2.3