summaryrefslogtreecommitdiffstats
path: root/games/goonies/gcc6.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-10-08 10:01:48 +0200
committer Matteo Bernardini2019-10-08 10:01:48 +0200
commitc632835a841a449db663e3b03c0fa73672b56557 (patch)
tree221df3fbfe8006acb271b605e70b498e9eb7bade /games/goonies/gcc6.patch
parent0f41388fbdebf3a7e930962dd49fd0a2ee704fae (diff)
downloadslackbuilds-current-20191008.1.tar.gz
20191008.1 global branch merge.current-20191008.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);
+