Date: Fri, 6 Sep 2013 18:51:16 +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: r326536 - head/games/brainparty/files Message-ID: <201309061851.r86IpGeO003290@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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];
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309061851.r86IpGeO003290>