Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Apr 2019 14:18:36 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r500494 - head/games/vegastrike/files
Message-ID:  <201904301418.x3UEIapm072047@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Apr 30 14:18:36 2019
New Revision: 500494
URL: https://svnweb.freebsd.org/changeset/ports/500494

Log:
  games/vegastrike: fix build with GCC-based architectures
  
  Replace . with -> (for accessing a pointer) in src/cmd/unit_collide.h
  
  PR:		237034
  Approved by:	mat (mentor)
  Differential Revision:	https://reviews.freebsd.org/D20090

Added:
  head/games/vegastrike/files/patch-src_cmd_unit__collide.h   (contents, props changed)

Added: head/games/vegastrike/files/patch-src_cmd_unit__collide.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/vegastrike/files/patch-src_cmd_unit__collide.h	Tue Apr 30 14:18:36 2019	(r500494)
@@ -0,0 +1,14 @@
+--- src/cmd/unit_collide.h.orig	2019-04-05 07:20:53 UTC
++++ src/cmd/unit_collide.h
+@@ -94,9 +94,9 @@ class UnitHash3d (public)
+     {
+         if ( !hugeobjects.empty() )
+             hugeobjects.clear();
+-        if ( this->active_huge.size() )
++        if ( this->active_huge->size() )
+             ha.clear();
+-        if ( this->accum_huge.size() )
++        if ( this->accum_huge->size() )
+             hb.clear();
+         acc_huge.clear();
+         act_huge.clear();



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