slackbuilds_ponce/games/goonies/gcc6.patch
Matteo Bernardini 354bc6c32b games/goonies: Patch for gcc >= 6.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
2021-04-17 23:27:25 -05:00

12 lines
388 B
Diff

diff -Naur goonies-1.4.1528.orig/src/auxiliar.cpp goonies-1.4.1528/src/auxiliar.cpp
--- goonies-1.4.1528.orig/src/auxiliar.cpp 2009-03-12 09:43:32.000000000 +0100
+++ goonies-1.4.1528/src/auxiliar.cpp 2017-06-23 10:24:12.765749591 +0200
@@ -94,7 +94,7 @@
if (tmp == 0 ||
mask == 0)
- return false;
+ return 0;
res = SDL_DisplayFormatAlpha(tmp);