summaryrefslogtreecommitdiffstats
path: root/games/f1spirit/03_gcc6.patch
diff options
context:
space:
mode:
author Matteo Bernardini2020-11-22 10:57:42 +0100
committer Matteo Bernardini2020-11-22 10:57:42 +0100
commit99958f26868be3a2a2f73e06fb3a4ea20edbd6e2 (patch)
treee98702265056ca9dbc2208f4efcd9c4687fde69c /games/f1spirit/03_gcc6.patch
parentd16bcf418dcbbf01c065787ba1defff73d4d4f3c (diff)
downloadslackbuilds-99958f26868be3a2a2f73e06fb3a4ea20edbd6e2.tar.gz
20201122.1 global branch merge.current-20201122.1
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/f1spirit/03_gcc6.patch')
-rw-r--r--games/f1spirit/03_gcc6.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/games/f1spirit/03_gcc6.patch b/games/f1spirit/03_gcc6.patch
new file mode 100644
index 0000000000..fbae3bd832
--- /dev/null
+++ b/games/f1spirit/03_gcc6.patch
@@ -0,0 +1,12 @@
+diff -Naur f1spirit-0.rc9.1615.orig/sources/auxiliar.cpp f1spirit-0.rc9.1615/sources/auxiliar.cpp
+--- f1spirit-0.rc9.1615.orig/sources/auxiliar.cpp 2009-02-06 10:54:49.000000000 +0100
++++ f1spirit-0.rc9.1615/sources/auxiliar.cpp 2017-06-23 11:57:14.145689872 +0200
+@@ -93,7 +93,7 @@
+
+ if (tmp == 0 ||
+ mask == 0)
+- return false;
++ return 0;
+
+ res = SDL_DisplayFormatAlpha(tmp);
+