summaryrefslogtreecommitdiffstats
path: root/net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2012-08-08 19:07:55 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2012-08-08 19:07:55 +0200
commitadca3bfc4649054ab3ed0a0dafb0f2fb8b9d370f (patch)
tree9219c6f17ea13f9196630fc1bf30180e0125b77d /net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch
parentBuild vidalia on gcc 4.7. This fixes bug #422645. (diff)
downloadportage-adca3bfc4649054ab3ed0a0dafb0f2fb8b9d370f.tar.xz
portage-adca3bfc4649054ab3ed0a0dafb0f2fb8b9d370f.zip
Fix ptlib.
Diffstat (limited to '')
-rw-r--r--net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch15
1 files changed, 12 insertions, 3 deletions
diff --git a/net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch b/net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch
index 0c0c7ee..8afc210 100644
--- a/net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch
+++ b/net-libs/ptlib/files/ptlib-2.6.7-gcc-4.7.patch
@@ -1,5 +1,3 @@
-Index: ptlib-2.6.7/include/ptlib/array.h
-===================================================================
--- ptlib-2.6.7.orig/include/ptlib/array.h
+++ ptlib-2.6.7/include/ptlib/array.h
@@ -523,7 +523,7 @@ template <class T> class PScalarArray :
@@ -10,4 +8,15 @@ Index: ptlib-2.6.7/include/ptlib/array.h
+ this->SetAt(index, t);
}
};
-
+
+--- ptlib-2.6.7.orig/include/ptlib/safecoll.h
++++ ptlib-2.6.7/include/ptlib/safecoll.h
+@@ -782,7 +782,7 @@
+ */
+ PSafePtr & operator=(T * obj)
+ {
+- Assign(obj);
++ this->Assign(obj);
+ return *this;
+ }
+