summaryrefslogtreecommitdiff
path: root/devel/ptlib/files/patch-include_ptlib_object.h
diff options
context:
space:
mode:
authorKoop Mast <kwm@FreeBSD.org>2013-09-20 21:50:39 +0000
committerKoop Mast <kwm@FreeBSD.org>2013-09-20 21:50:39 +0000
commit9e6673f04f2a8178e49b49d1676640bba2149371 (patch)
treec62b4e58e684a810c47846f1e9a173a16b0d27d1 /devel/ptlib/files/patch-include_ptlib_object.h
parentReturning maintainership on my multimedia ports to ports@freebsd.org (diff)
Move ptlib26, opal3 and ekiga3 to unversioned ports and update to:
ptlib to 2.10.10 opal to 3.10.10 ekiga to 4.0.1
Notes
Notes: svn path=/head/; revision=327751
Diffstat (limited to 'devel/ptlib/files/patch-include_ptlib_object.h')
-rw-r--r--devel/ptlib/files/patch-include_ptlib_object.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/ptlib/files/patch-include_ptlib_object.h b/devel/ptlib/files/patch-include_ptlib_object.h
new file mode 100644
index 000000000000..f2198cb5bf94
--- /dev/null
+++ b/devel/ptlib/files/patch-include_ptlib_object.h
@@ -0,0 +1,11 @@
+--- include/ptlib/object.h.orig 2013-09-16 12:18:01.000000000 +0200
++++ include/ptlib/object.h 2013-09-16 12:19:59.000000000 +0200
+@@ -1011,7 +1011,7 @@
+ + __GNUC_PATCHLEVEL__)
+
+ // Memory pooling allocators
+-#if defined(__GNUC__) && (GCC_VERSION > 40000) && !defined(P_MINGW) && !defined(P_MACOSX)
++#if defined(__GNUC__) && (GCC_VERSION > 40000) && !defined(P_MINGW) && !defined(P_MACOSX) && !defined(_LIBCPP_VERSION)
+ #include <ext/mt_allocator.h>
+ template <class Type> struct PFixedPoolAllocator : public PAllocatorTemplate<__gnu_cxx::__mt_alloc<Type>, Type> { };
+ template <class Type> struct PVariablePoolAllocator : public PAllocatorTemplate<__gnu_cxx::__mt_alloc<Type>, Type> { };