Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -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);