packages (PTLIB_2_8): ptlib/ptlib.spec, ptlib/ptlib-std_allocator.patch (NE...
jajcus
jajcus at pld-linux.org
Thu Apr 28 13:21:08 CEST 2011
Author: jajcus Date: Thu Apr 28 11:21:08 2011 GMT
Module: packages Tag: PTLIB_2_8
---- Log message:
- use std:allocator instead of some internal GCC API (which crashes ptlib apps
with our GCC/libstdc++)
---- Files affected:
packages/ptlib:
ptlib.spec (1.25.2.1 -> 1.25.2.2) , ptlib-std_allocator.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ptlib/ptlib.spec
diff -u packages/ptlib/ptlib.spec:1.25.2.1 packages/ptlib/ptlib.spec:1.25.2.2
--- packages/ptlib/ptlib.spec:1.25.2.1 Thu Apr 28 13:13:03 2011
+++ packages/ptlib/ptlib.spec Thu Apr 28 13:21:03 2011
@@ -17,6 +17,7 @@
URL: http://www.opalvoip.org/
Source0: http://downloads.sourceforge.net/opalvoip/%{name}-%{version}.tar.bz2
# Source0-md5: 0293a9029fe4164bb63ff8ca15db8703
+Patch0: %{name}-std_allocator.patch
License: MPLv1.0
Group: Libraries
%{?with_video:BuildRequires: SDL-devel}
@@ -154,6 +155,7 @@
%prep
%setup -q
+%patch0 -p1
%build
# note: --enable-opal influences most of the remaining enable/disable defaults
@@ -285,6 +287,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25.2.2 2011/04/28 11:21:03 jajcus
+- use std:allocator instead of some internal GCC API (which crashes ptlib apps
+ with our GCC/libstdc++)
+
Revision 1.25.2.1 2011/04/28 11:13:03 jajcus
- better passing of %{rpmcflags} and %{rpmldflags}
- use verbose build so the flags used are visible
================================================================
Index: packages/ptlib/ptlib-std_allocator.patch
diff -u /dev/null packages/ptlib/ptlib-std_allocator.patch:1.1
--- /dev/null Thu Apr 28 13:21:08 2011
+++ packages/ptlib/ptlib-std_allocator.patch Thu Apr 28 13:21:03 2011
@@ -0,0 +1,11 @@
+--- ptlib-2.8.3/include/ptlib/object.h.orig 2010-12-20 23:39:10.000000000 +0100
++++ ptlib-2.8.3/include/ptlib/object.h 2011-04-28 13:08:04.000000000 +0200
+@@ -947,7 +947,7 @@
+
+
+ // Memory pooling allocators
+-#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(P_MINGW)
++#if 0
+ #include <ext/bitmap_allocator.h>
+ template <class Type> class PFixedPoolAllocator : public __gnu_cxx::bitmap_allocator<Type> { };
+ #include <ext/mt_allocator.h>
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ptlib/ptlib.spec?r1=1.25.2.1&r2=1.25.2.2&f=u
More information about the pld-cvs-commit
mailing list