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
@@ -0,0 +1,27 @@
$NetBSD: patch-utils_sqlite_database.hpp,v 1.1 2013/05/06 14:46:58 joerg Exp $
--- utils/sqlite/database.hpp.orig 2013-05-06 07:46:57.000000000 +0000
+++ utils/sqlite/database.hpp
@@ -40,7 +40,13 @@ extern "C" {
}
#include <cstddef>
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+#include <memory>
+using std::shared_ptr;
+#else
#include <tr1/memory>
+using std::tr1::shared_ptr;
+#endif
#include "utils/fs/path.hpp"
@@ -79,7 +85,7 @@ class database {
struct impl;
/// Pointer to the shared internal implementation.
- std::tr1::shared_ptr< impl > _pimpl;
+ shared_ptr< impl > _pimpl;
friend class database_c_gate;
database(void*, const bool);