summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-28 19:01:00 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-28 19:01:00 +0000
commit43b2fec1562b59c16a42f83a3734e5d35910a5d7 (patch)
treeb47db2406fbd28723ee158215c36b3fbaf27a08c /devel
parentd202d3a5044505131e5c330f341ea6b7ed4b9389 (diff)
downloadpkgsrc-43b2fec1562b59c16a42f83a3734e5d35910a5d7.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);