aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2018-06-29 00:08:28 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2018-06-29 00:08:28 +0800
commitcac3b28d6cfd9a8a775edf39efdb47755a0f3db8 (patch)
tree92bba5b0b5f3fb401c86637c3b0b78eff2c94871 /games
parent58f4ceff5e3fb3a8c5659ff6741a8fd40250809a (diff)
downloadfreebsd-ports-gnome-cac3b28d6cfd9a8a775edf39efdb47755a0f3db8.tar.gz
freebsd-ports-gnome-cac3b28d6cfd9a8a775edf39efdb47755a0f3db8.tar.zst
freebsd-ports-gnome-cac3b28d6cfd9a8a775edf39efdb47755a0f3db8.zip
- Fix build with clang 6
Diffstat (limited to 'games')
-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);
+