summaryrefslogtreecommitdiffstats
path: root/games/goonies/gcc6.patch
diff options
context:
space:
mode:
author Matteo Bernardini2018-12-29 08:52:49 +0100
committer Matteo Bernardini2018-12-29 08:52:49 +0100
commit00c4d7d9f2b22a22af1708eb8c97067154921d5e (patch)
tree6363da7d4acfbe5a2a4e4710bff80e9b9df9286e /games/goonies/gcc6.patch
parent1330cad48888a6a8fcd8b4a3c8f40880caa7ee85 (diff)
downloadslackbuilds-00c4d7d9f2b22a22af1708eb8c97067154921d5e.tar.gz
20181229.1 global branch merge.current-20181229.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);
+