svn commit: r500494 - head/games/vegastrike/files

Piotr Kubaj pkubaj at FreeBSD.org
Tue Apr 30 14:18:37 UTC 2019


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();


More information about the svn-ports-all mailing list