aboutsummaryrefslogtreecommitdiff
path: root/games/roadfighter/gcc.patch
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2017-06-22 23:22:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:57:11 -0500
commitdb912fe465ae2a9ad0deda788f2adbd690cb1353 (patch)
treefc68b03af9a0f8bb371ff9fecc0dab27c7bc8d42 /games/roadfighter/gcc.patch
parent3e3a690d3250efb239c1c0b272e794172649111a (diff)
games/roadfighter: Patch for the newer gcc.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'games/roadfighter/gcc.patch')
-rw-r--r--games/roadfighter/gcc.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/roadfighter/gcc.patch b/games/roadfighter/gcc.patch
new file mode 100644
index 0000000000..c7e3e3895a
--- /dev/null
+++ b/games/roadfighter/gcc.patch
@@ -0,0 +1,11 @@
+--- src/auxiliar.cpp 2016-06-07 16:18:19.672015830 +0200
++++ src/auxiliar.cpp 2016-06-07 16:18:41.678235683 +0200
+@@ -84,7 +84,7 @@
+ mask=IMG_Load(name);
+
+ if (tmp==0 ||
+- mask==0) return false;
++ mask==0) return 0;
+
+ res=SDL_DisplayFormatAlpha(tmp);
+