svn commit: r335786 - head/games/allacrost/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Dec 6 22:30:42 UTC 2013


Author: amdmi3
Date: Fri Dec  6 22:30:41 2013
New Revision: 335786
URL: http://svnweb.freebsd.org/changeset/ports/335786

Log:
  - Fix build with modern compilers (gcc 4.7+)
  
  Submitted by:	gerald (via private email)

Added:
  head/games/allacrost/files/patch-src-common-global-global.h   (contents, props changed)

Added: head/games/allacrost/files/patch-src-common-global-global.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/allacrost/files/patch-src-common-global-global.h	Fri Dec  6 22:30:41 2013	(r335786)
@@ -0,0 +1,13 @@
+--- src/common/global/global.h.orig	2013-11-16 13:33:38.000000000 +0100
++++ src/common/global/global.h	2013-11-16 13:34:08.000000000 +0100
+@@ -684,8 +684,8 @@
+ 			file.WriteLine("\t", false);
+ 		else
+ 			file.WriteLine(", ", false);
+-		file.WriteLine("[" + NumberToString(inv[i]->GetID()) + "] = "
+-			+ NumberToString(inv[i]->GetCount()), false);
++		file.WriteLine("[" + hoa_utils::NumberToString(inv[i]->GetID()) + "] = "
++			+ hoa_utils::NumberToString(inv[i]->GetCount()), false);
+ 	}
+ 	file.InsertNewLine();
+ 	file.WriteLine("}");


More information about the svn-ports-all mailing list