Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Jun 2018 16:08:29 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r473499 - head/games/f1spirit-remake/files
Message-ID:  <201806281608.w5SG8TKc085612@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806281608.w5SG8TKc085612>