summaryrefslogtreecommitdiffstats
path: root/games/goonies/gcc6.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-01-05 11:02:35 +0100
committer Matteo Bernardini2019-01-05 11:02:35 +0100
commit1f83bd4e081733c3e61db79691b35b4d7520c707 (patch)
tree7e6516d59eced4b190499cc443b3c32695aa5dd0 /games/goonies/gcc6.patch
parent5b0cf5e3225e0ef439d733f5095f2f797601d752 (diff)
downloadslackbuilds-1f83bd4e081733c3e61db79691b35b4d7520c707.tar.gz
20190105.1 global branch merge.current-20190105.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);
+