svn commit: r473499 - head/games/f1spirit-remake/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Thu Jun 28 16:08:30 UTC 2018


Author: amdmi3
Date: Thu Jun 28 16:08:28 2018
New Revision: 473499
URL: https://svnweb.freebsd.org/changeset/ports/473499

Log:
  - Fix build with clang 6

Added:
  head/games/f1spirit-remake/files/patch-sources_auxiliar.cpp   (contents, props changed)

Added: head/games/f1spirit-remake/files/patch-sources_auxiliar.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/f1spirit-remake/files/patch-sources_auxiliar.cpp	Thu Jun 28 16:08:28 2018	(r473499)
@@ -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);
+ 


More information about the svn-ports-all mailing list