svn commit: r326536 - head/games/brainparty/files

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Sep 6 18:51:17 UTC 2013


Author: amdmi3
Date: Fri Sep  6 18:51:16 2013
New Revision: 326536
URL: http://svnweb.freebsd.org/changeset/ports/326536

Log:
  - Fix build with clang

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

Added: head/games/brainparty/files/patch-BPList.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/brainparty/files/patch-BPList.h	Fri Sep  6 18:51:16 2013	(r326536)
@@ -0,0 +1,20 @@
+--- BPList.h.orig	2010-03-02 16:29:45.000000000 +0300
++++ BPList.h	2013-09-06 22:05:04.125227873 +0400
+@@ -138,7 +138,7 @@
+ 	~BPPList();
+ 	void Add(T item);
+ 	bool Contains(T item);
+-	void Clear(bool safe_delete);
++	void Clear(bool safe_delete = true);
+ 	int IndexOf(T item);
+ 	void Insert(int pos, T item);
+ 	void Remove(T item);
+@@ -171,7 +171,7 @@
+ }
+ 
+ template <class T>
+-void BPPList<T>::Clear(bool safe_delete = true) {
++void BPPList<T>::Clear(bool safe_delete) {
+ 	if (safe_delete) {
+ 		for (int i = data.size() - 1; i >= 0; --i) {
+ 			T item = data[i];


More information about the svn-ports-all mailing list