diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-03 20:56:28 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-03 20:56:28 +0100 |
commit | fbda87924e6faa7a1919f1a2b4182490bde5ec5c (patch) | |
tree | f3114a4ed212a754756adce027aeef3a4a1a2e2a /games-arcade/fishsupper/files | |
parent | 3b08f674e3f771b49370edb144dab0958c8cf721 (diff) |
gentoo resync : 03.09.2021
Diffstat (limited to 'games-arcade/fishsupper/files')
-rw-r--r-- | games-arcade/fishsupper/files/fishsupper-0.1.6-int16.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-arcade/fishsupper/files/fishsupper-0.1.6-int16.patch b/games-arcade/fishsupper/files/fishsupper-0.1.6-int16.patch new file mode 100644 index 000000000000..3e4f6edbf631 --- /dev/null +++ b/games-arcade/fishsupper/files/fishsupper-0.1.6-int16.patch @@ -0,0 +1,14 @@ +Fix build with clang +https://bugs.gentoo.org/739090 + +--- a/src/SFont_gl.cpp ++++ b/src/SFont_gl.cpp +@@ -223,7 +223,7 @@ void Mafferyew::SFont_gl::create_font_char(SDL_Surface* image, + 0x000000ff, 0x0000ff00, 0x00ff0000, 0xff000000); + #endif + +- SDL_Rect src_rect = { begin_x, 1, font_char_w, font_height }; ++ SDL_Rect src_rect = { (Sint16)begin_x, 1, (Uint16)font_char_w, (Uint16)font_height }; + SDL_BlitSurface(image, &src_rect, converted, 0); + + GLuint texture; |