summaryrefslogtreecommitdiff
path: root/games-puzzle/xwelltris/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-05-04 22:28:33 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-05-04 22:28:33 +0100
commita978c074e4272bb901fbe4a10de0a7b2af574f17 (patch)
tree8c764c1cc0576389ce22abd317bceba71ea5732d /games-puzzle/xwelltris/files
parent40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 (diff)
gentoo resync : 04.05.2021
Diffstat (limited to 'games-puzzle/xwelltris/files')
-rw-r--r--games-puzzle/xwelltris/files/xwelltris-1.0.1-gcc-11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games-puzzle/xwelltris/files/xwelltris-1.0.1-gcc-11.patch b/games-puzzle/xwelltris/files/xwelltris-1.0.1-gcc-11.patch
new file mode 100644
index 000000000000..0398bfec4359
--- /dev/null
+++ b/games-puzzle/xwelltris/files/xwelltris-1.0.1-gcc-11.patch
@@ -0,0 +1,11 @@
+--- a/src/sdl/sdlwelldrawing.cxx
++++ b/src/sdl/sdlwelldrawing.cxx
+@@ -72,7 +72,7 @@ void SDLWellDrawingEngine::init(int inum_fields, int idx, int idy,
+
+ fields[i]=SDL_DisplayFormat(surface);
+ SDL_FreeSurface(surface);
+- if(fields[i]>0)
++ if(fields[i])
+ clear_field(i);
+ }
+ bg_color=colors[BackColor];