summaryrefslogtreecommitdiffstats
path: root/games/goonies/gcc6.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-01-12 12:08:26 +0100
committer Matteo Bernardini2020-01-12 12:08:26 +0100
commit0c6fe367a7009c5bbabc3071f8cccc77a37859eb (patch)
treeac54688f55ad545306ad664b6b58a85e87de6768 /games/goonies/gcc6.patch
parent3066e0530b82d92e7856c44afb715f6fae0a5df0 (diff)
downloadslackbuilds-0c6fe367a7009c5bbabc3071f8cccc77a37859eb.tar.gz
20200112.1 global branch merge.current-20200112.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);
+