aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-28 16:08:28 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-28 16:08:28 +0000
commit37ab234d6aa526f1e9150d065305ff43216873bc (patch)
tree92bba5b0b5f3fb401c86637c3b0b78eff2c94871
parent57af8defa627dc36a1531a88759ed4402e41c2b8 (diff)
downloadports-37ab234d6aa526f1e9150d065305ff43216873bc.tar.gz
ports-37ab234d6aa526f1e9150d065305ff43216873bc.zip
- Fix build with clang 6
Notes
Notes: svn path=/head/; revision=473499
-rw-r--r--games/f1spirit-remake/files/patch-sources_auxiliar.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/f1spirit-remake/files/patch-sources_auxiliar.cpp b/games/f1spirit-remake/files/patch-sources_auxiliar.cpp
new file mode 100644
index 000000000000..1cb5b31750b2
--- /dev/null
+++ b/games/f1spirit-remake/files/patch-sources_auxiliar.cpp
@@ -0,0 +1,11 @@
+--- sources/auxiliar.cpp.orig 2018-06-28 15:42:12 UTC
++++ sources/auxiliar.cpp
+@@ -88,7 +88,7 @@ SDL_Surface *load_maskedimage(char *imag
+ mask=IMG_Load(name);
+
+ if (tmp==0 ||
+- mask==0) return false;
++ mask==0) return NULL;
+
+ res=SDL_DisplayFormatAlpha(tmp);
+