Mon May 6 14:44:08 2013 UTC ()
When using libc++ or C++11, use the standard namespace.


(joerg)
diff -r1.2 -r1.3 pkgsrc/devel/lutok/distinfo
diff -r0 -r1.1 pkgsrc/devel/lutok/patches/patch-debug.hpp
diff -r0 -r1.1 pkgsrc/devel/lutok/patches/patch-state.hpp

cvs diff -r1.2 -r1.3 pkgsrc/devel/lutok/distinfo (expand / switch to unified diff)

--- pkgsrc/devel/lutok/distinfo 2012/05/30 22:48:36 1.2
+++ pkgsrc/devel/lutok/distinfo 2013/05/06 14:44:07 1.3
@@ -1,5 +1,7 @@ @@ -1,5 +1,7 @@
1$NetBSD: distinfo,v 1.2 2012/05/30 22:48:36 jmmv Exp $ 1$NetBSD: distinfo,v 1.3 2013/05/06 14:44:07 joerg Exp $
2 2
3SHA1 (lutok-0.2.tar.gz) = ca44640bba4bd50aca28e2ed10fb2ec99f14573f 3SHA1 (lutok-0.2.tar.gz) = ca44640bba4bd50aca28e2ed10fb2ec99f14573f
4RMD160 (lutok-0.2.tar.gz) = ee91a8acf896baac276fab7d748d6e695702cf24 4RMD160 (lutok-0.2.tar.gz) = ee91a8acf896baac276fab7d748d6e695702cf24
5Size (lutok-0.2.tar.gz) = 492333 bytes 5Size (lutok-0.2.tar.gz) = 492333 bytes
 6SHA1 (patch-debug.hpp) = c2a0b45a6ab9cb5c013d9bb2006df33ff4fb2bc4
 7SHA1 (patch-state.hpp) = 7ecd450f871fd14255b0be15e0ff88f7da5da185

File Added: pkgsrc/devel/lutok/patches/Attic/patch-debug.hpp
$NetBSD: patch-debug.hpp,v 1.1 2013/05/06 14:44:07 joerg Exp $

--- debug.hpp.orig	2013-04-30 22:44:05.000000000 +0000
+++ debug.hpp
@@ -33,8 +33,11 @@
 #define LUTOK_DEBUG_HPP
 
 #include <string>
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+#include <memory>
+#else
 #include <tr1/memory>
-
+#endif
 
 namespace lutok {
 
@@ -56,7 +59,11 @@ class debug {
     struct impl;
 
     /// Pointer to the shared internal implementation.
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+    std::shared_ptr< impl > _pimpl;
+#else
     std::tr1::shared_ptr< impl > _pimpl;
+#endif
 
 public:
     debug(void);

File Added: pkgsrc/devel/lutok/patches/Attic/patch-state.hpp
$NetBSD: patch-state.hpp,v 1.1 2013/05/06 14:44:07 joerg Exp $

--- state.hpp.orig	2013-04-30 22:43:07.000000000 +0000
+++ state.hpp
@@ -33,7 +33,12 @@
 #define LUTOK_STATE_HPP
 
 #include <string>
+
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+#include <memory>
+#else
 #include <tr1/memory>
+#endif
 
 namespace lutok {
 
@@ -72,7 +77,11 @@ class state {
     struct impl;
 
     /// Pointer to the shared internal implementation.
+#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
+    std::shared_ptr< impl > _pimpl;
+#else
     std::tr1::shared_ptr< impl > _pimpl;
+#endif
 
     void* new_userdata_voidp(const size_t);
     void* to_userdata_voidp(const int);