diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-06-15 14:57:03 +0100 |
commit | d18bf1e01b65ee4bf0c804e2843b282d3d4e5d7c (patch) | |
tree | 4a95cbc6ffdf13bad6ecbc7f8d5af99631984123 /games-arcade/briquolo/files | |
parent | e748ba9741f6540f4675c23e3e37b73e822c13a4 (diff) |
gentoo resync : 15.06.2021
Diffstat (limited to 'games-arcade/briquolo/files')
-rw-r--r-- | games-arcade/briquolo/files/briquolo-0.5.7-clang-widening.patch | 31 | ||||
-rw-r--r-- | games-arcade/briquolo/files/briquolo-0.5.7-gcc11-fix-const.patch | 12 |
2 files changed, 43 insertions, 0 deletions
diff --git a/games-arcade/briquolo/files/briquolo-0.5.7-clang-widening.patch b/games-arcade/briquolo/files/briquolo-0.5.7-clang-widening.patch new file mode 100644 index 000000000000..5afaaefd5848 --- /dev/null +++ b/games-arcade/briquolo/files/briquolo-0.5.7-clang-widening.patch @@ -0,0 +1,31 @@ +https://bugs.gentoo.org/739094 +https://svnweb.freebsd.org/ports/head/games/briquolo/files/patch-src-MOGL-MOGL_PoliceTTF.h?revision=460698&view=co + +Fix types passed to SDL_Rect structure (SDL 1.2) + +--- a/src/MOGL/MOGL_PoliceTTF.h ++++ b/src/MOGL/MOGL_PoliceTTF.h +@@ -42,10 +42,10 @@ + { + GLuint TextureName; + Uint16 carac; +- unsigned int x1; +- unsigned int y1; +- unsigned int x2; +- unsigned int y2; ++ Sint16 x1; ++ Sint16 y1; ++ int x2; ++ int y2; + }; + + struct MOGL_Struct_TextureCarac +@@ -141,7 +141,7 @@ + MOGL_Struct_Carac * _Caracteres; + MOGL_Struct_Carac * (_Correspondance[256-32]); + +- unsigned int _LastTextureX, _LastTextureY; ++ Sint16 _LastTextureX, _LastTextureY; + unsigned int maxHeightCarac; + MOGL_Map_Carac _MapCarac; + MOGL_Vector_TextureName _VectorTextureName; diff --git a/games-arcade/briquolo/files/briquolo-0.5.7-gcc11-fix-const.patch b/games-arcade/briquolo/files/briquolo-0.5.7-gcc11-fix-const.patch new file mode 100644 index 000000000000..d5d68819675a --- /dev/null +++ b/games-arcade/briquolo/files/briquolo-0.5.7-gcc11-fix-const.patch @@ -0,0 +1,12 @@ +https://bugs.gentoo.org/790746 +--- a/src/MOGL/MOGL_Fenetre.h ++++ b/src/MOGL/MOGL_Fenetre.h +@@ -52,7 +52,7 @@ class MOGL_Fenetre + private: + struct CompareResolution + { +- bool operator() (const MOGL_Resolution & x, const MOGL_Resolution & y) ++ bool operator() (const MOGL_Resolution & x, const MOGL_Resolution & y) const + { + return x.w < y.w; + } |