summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg>2013-05-28 19:01:00 +0000
committerjoerg <joerg>2013-05-28 19:01:00 +0000
commita9c03c9c37c1c0487243d97e31e1d47cfe23a02b (patch)
treeb47db2406fbd28723ee158215c36b3fbaf27a08c /devel
parentcde0f007eb23229aa6a80b911786b13ba56795ec (diff)
downloadpkgsrc-a9c03c9c37c1c0487243d97e31e1d47cfe23a02b.tar.gz
Resolve a few more boost::shared_ptr uses.
Diffstat (limited to 'devel')
-rw-r--r--devel/libthrift/distinfo3
-rw-r--r--devel/libthrift/patches/patch-lib_cpp_test_Benchmark.cpp22
2 files changed, 24 insertions, 1 deletions
diff --git a/devel/libthrift/distinfo b/devel/libthrift/distinfo
index c5110d05a36..98b596fd7c1 100644
--- a/devel/libthrift/distinfo
+++ b/devel/libthrift/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2013/05/14 19:15:36 joerg Exp $
+$NetBSD: distinfo,v 1.10 2013/05/28 19:01:00 joerg Exp $
SHA1 (thrift-0.7.0.tar.gz) = b8f6877bc75878984355da4efe171ad99ff05b6a
RMD160 (thrift-0.7.0.tar.gz) = d9db8ff077347134101cd017e086511c4317b052
@@ -20,5 +20,6 @@ SHA1 (patch-lib_cpp_src_concurrency_ThreadManager.h) = e97795f632ed98c19172fa25f
SHA1 (patch-lib_cpp_src_server_TNonblockingServer.cpp) = 1f94bcad637279b151b8c0830854c5fc72919e68
SHA1 (patch-lib_cpp_src_transport_TSSLSocket.cpp) = 5b0ee2a0d276affc4ead52492e0100f4c0665550
SHA1 (patch-lib_cpp_src_transport_TServerSocket.cpp) = dc54a0991f5918de04da73f184c551d7a2bd57ed
+SHA1 (patch-lib_cpp_test_Benchmark.cpp) = 65a3a873b33f7290551c535b4ef8c9a109aae3e1
SHA1 (patch-lib_erl_Makefile.in) = 74bfbc9f191f685cb175801a495ae4af0eaa6e69
SHA1 (patch-lib_php_src_ext_thrift__protocol_php__thrift__protocol.cpp) = 6c1f1add0bfc652662efa59fc47d15e91a4d6a2b
diff --git a/devel/libthrift/patches/patch-lib_cpp_test_Benchmark.cpp b/devel/libthrift/patches/patch-lib_cpp_test_Benchmark.cpp
new file mode 100644
index 00000000000..370f2acea32
--- /dev/null
+++ b/devel/libthrift/patches/patch-lib_cpp_test_Benchmark.cpp
@@ -0,0 +1,22 @@
+$NetBSD: patch-lib_cpp_test_Benchmark.cpp,v 1.1 2013/05/28 19:01:00 joerg Exp $
+
+--- lib/cpp/test/Benchmark.cpp.orig 2013-05-28 10:49:31.000000000 +0000
++++ lib/cpp/test/Benchmark.cpp
+@@ -65,7 +65,7 @@ int main() {
+ ooe.zomg_unicode = "\xd7\n\a\t";
+ ooe.base64 = "\1\2\3\255";
+
+- shared_ptr<TMemoryBuffer> buf(new TMemoryBuffer());
++ boost::shared_ptr<TMemoryBuffer> buf(new TMemoryBuffer());
+
+ int num = 1000000;
+
+@@ -91,7 +91,7 @@ int main() {
+
+ for (int i = 0; i < num; i ++) {
+ OneOfEach ooe2;
+- shared_ptr<TMemoryBuffer> buf2(new TMemoryBuffer(data, datasize));
++ boost::shared_ptr<TMemoryBuffer> buf2(new TMemoryBuffer(data, datasize));
+ //buf2->resetBuffer(data, datasize);
+ TBinaryProtocolT<TBufferBase> prot(buf2);
+ ooe2.read(&prot);