summaryrefslogtreecommitdiffstats
path: root/games/roadfighter/gcc.patch
diff options
context:
space:
mode:
author Matteo Bernardini2019-08-24 10:35:48 +0200
committer Matteo Bernardini2019-08-24 10:35:48 +0200
commite93fc1029f35673e06f2d9126d1353248d7e3896 (patch)
tree23b5b1b9250223d5c1c941b9bb3c21e2a59645e6 /games/roadfighter/gcc.patch
parent5afd639f0f73f1a079e885e0ef5df06643eba6a4 (diff)
downloadslackbuilds-e93fc1029f35673e06f2d9126d1353248d7e3896.tar.gz
20190824.1 global branch merge.current-20190824.1
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);
+