diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-08 09:23:49 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-08 09:23:49 +0000 |
commit | f077c725ef746943ec7902350b30ff569f5995ba (patch) | |
tree | ac5ad0215e09a9daa3ce0e55095401ead1936ac8 /games-rpg/freedink/files/freedink-109.6-sdl.patch | |
parent | b6cda9acfebad17184578dfebaf2434ef2884883 (diff) |
gentoo auto-resync : 08:11:2022 - 09:23:49
Diffstat (limited to 'games-rpg/freedink/files/freedink-109.6-sdl.patch')
-rw-r--r-- | games-rpg/freedink/files/freedink-109.6-sdl.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/games-rpg/freedink/files/freedink-109.6-sdl.patch b/games-rpg/freedink/files/freedink-109.6-sdl.patch new file mode 100644 index 000000000000..f00735d7b377 --- /dev/null +++ b/games-rpg/freedink/files/freedink-109.6-sdl.patch @@ -0,0 +1,20 @@ +For newer sdl2 and sdl2-ttf +https://lists.gnu.org/archive/html/bug-freedink/2019-08/msg00000.html +https://lists.gnu.org/archive/html/bug-freedink/2022-07/msg00001.html +--- a/src/gfx_fonts.cpp ++++ b/src/gfx_fonts.cpp +@@ -295,6 +295,6 @@ + { +- char *familyname = TTF_FontFaceFamilyName(font); ++ const char *familyname = TTF_FontFaceFamilyName(font); + if(familyname) + log_info("The family name of the face in the font is: %s", familyname); +- char *stylename = TTF_FontFaceStyleName(font); ++ const char *stylename = TTF_FontFaceStyleName(font); + if(stylename) +--- a/src/input.cpp ++++ b/src/input.cpp +@@ -93,3 +93,2 @@ + // fake mouse events often are de-centered +- SDL_SetHint(SDL_HINT_ANDROID_SEPARATE_MOUSE_AND_TOUCH, "0"); + |