summaryrefslogtreecommitdiffstats
path: root/games/goonies/gcc6.patch
diff options
context:
space:
mode:
author Matteo Bernardini2021-04-08 19:35:50 +0200
committer Matteo Bernardini2021-04-08 19:35:50 +0200
commitafc9e42772de8a69a6c2a028e98dc5ca8d96df52 (patch)
tree1005b4879f8fb6b3be051d8ac93d1b40220fbecd /games/goonies/gcc6.patch
parenta6bf666d73b4dccae0636e4ca04113d5953b956c (diff)
downloadslackbuilds-current-20210408.1.tar.gz
20210408.1 global branch merge.current-20210408.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/goonies/gcc6.patch')
-rw-r--r--games/goonies/gcc6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/goonies/gcc6.patch b/games/goonies/gcc6.patch
new file mode 100644
index 0000000000..f586243cf1
--- /dev/null
+++ b/games/goonies/gcc6.patch
@@ -0,0 +1,12 @@
+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);
+