svn commit: r329025 - head/devel/ptlib/files
John Marino
marino at FreeBSD.org
Wed Oct 2 09:13:43 UTC 2013
Author: marino
Date: Wed Oct 2 09:13:42 2013
New Revision: 329025
URL: http://svnweb.freebsd.org/changeset/ports/329025
Log:
devel/ptlib: Fix -fpermissive c++ errors on modern compilers
Approved by: portmgr (bapt, implicit)
Added:
head/devel/ptlib/files/patch-include_ptlib_array.h (contents, props changed)
Added: head/devel/ptlib/files/patch-include_ptlib_array.h
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/ptlib/files/patch-include_ptlib_array.h Wed Oct 2 09:13:42 2013 (r329025)
@@ -0,0 +1,29 @@
+--- include/ptlib/array.h.orig 2009-01-11 22:53:14.000000000 +0000
++++ include/ptlib/array.h
+@@ -523,7 +523,7 @@ template <class T> class PScalarArray :
+ T t;
+ stream >> t;
+ if (!stream.fail())
+- SetAt(index, t);
++ this->SetAt(index, t);
+ }
+ };
+
+@@ -1221,7 +1221,7 @@ class PBitArray : public PBYTEArray
+ */
+ PBitArray & operator+=(
+ PINDEX index ///< Position on the array to get value from.
+- ) { SetAt(index, PTrue); return *this; }
++ ) { this->SetAt(index, PTrue); return *this; }
+
+ /**Set a bit to the array.
+
+@@ -1230,7 +1230,7 @@ class PBitArray : public PBYTEArray
+ */
+ PBitArray & operator-=(
+ PINDEX index ///< Position on the array to get value from.
+- ) { SetAt(index, PFalse); return *this; }
++ ) { this->SetAt(index, PFalse); return *this; }
+
+ /**Concatenate one array to the end of this array.
+ This function will allocate a new array large enough for the existing
More information about the svn-ports-all
mailing list