summaryrefslogtreecommitdiff
path: root/graphics/darktable
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2013-05-06 14:47:47 +0000
committerjoerg <joerg@pkgsrc.org>2013-05-06 14:47:47 +0000
commit70f98eb38cf8041012224bd7483ef3cf7e4b2dce (patch)
tree55729f0f38004a62e23a0e0a3563bcdad07642cd /graphics/darktable
parent2dac01364d0b79157b786a9e293af129500a828e (diff)
downloadpkgsrc-70f98eb38cf8041012224bd7483ef3cf7e4b2dce.tar.gz
Prefer <memory> over <tr1/memory> for C++11 and libc++.
Diffstat (limited to 'graphics/darktable')
-rw-r--r--graphics/darktable/distinfo3
-rw-r--r--graphics/darktable/patches/patch-src_common_imageio__exr.hh29
2 files changed, 31 insertions, 1 deletions
diff --git a/graphics/darktable/distinfo b/graphics/darktable/distinfo
index b81b44572df..6a8ca1b2755 100644
--- a/graphics/darktable/distinfo
+++ b/graphics/darktable/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.18 2013/04/21 14:12:23 wiz Exp $
+$NetBSD: distinfo,v 1.19 2013/05/06 14:47:47 joerg Exp $
SHA1 (darktable-1.2.tar.xz) = 2a444a691bd7cf77a9cdbb174d3ce5b2e247efd2
RMD160 (darktable-1.2.tar.xz) = 765267bcde5d7970af03f3be23ad1dc8a85a7212
Size (darktable-1.2.tar.xz) = 2399856 bytes
SHA1 (patch-cmake_modules_FindGTK2.cmake) = de1273594801ab82da31b624845e0b36a77b53b3
SHA1 (patch-src_LibRaw_libraw_libraw__alloc.h) = 8227a7180383cd4379313b07ff964bb7fb9ce694
+SHA1 (patch-src_common_imageio__exr.hh) = 310fe043db5dcc107d710e411c11493f698a1b65
SHA1 (patch-src_common_imageio__rgbe.c) = 5c396754d6dbb7390062e78afde315ee293215d6
SHA1 (patch-src_develop_blend.c) = d847c5d6a9f2c0e914d1fced8eb76ce79f127f70
SHA1 (patch-src_iop_lens.c) = 28b5462311f778184143152bdef4e59ee18a6a3f
diff --git a/graphics/darktable/patches/patch-src_common_imageio__exr.hh b/graphics/darktable/patches/patch-src_common_imageio__exr.hh
new file mode 100644
index 00000000000..e2a9f7effc2
--- /dev/null
+++ b/graphics/darktable/patches/patch-src_common_imageio__exr.hh
@@ -0,0 +1,29 @@
+$NetBSD: patch-src_common_imageio__exr.hh,v 1.1 2013/05/06 14:47:48 joerg Exp $
+
+--- src/common/imageio_exr.hh.orig 2013-05-04 14:59:46.000000000 +0000
++++ src/common/imageio_exr.hh
+@@ -21,7 +21,15 @@
+ #include "common/image.h"
+ #include "common/mipmap_cache.h"
+
++#include <ciso646>
++
++#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
++#include <memory>
++using std::shared_ptr;
++#else
+ #include <tr1/memory>
++using std::tr1::shared_ptr;
++#endif
+
+ #include <OpenEXR/ImfFrameBuffer.h>
+ #include <OpenEXR/ImfTestFile.h>
+@@ -50,7 +58,7 @@ public:
+ }
+
+ uint32_t size;
+- std::tr1::shared_ptr<uint8_t> data;
++ shared_ptr<uint8_t> data;
+ };
+
+