svn commit: r330000 - head/graphics/darktable/files

Alexey Dokuchaev danfe at FreeBSD.org
Thu Oct 10 13:46:40 UTC 2013


Author: danfe
Date: Thu Oct 10 13:46:39 2013
New Revision: 330000
URL: http://svnweb.freebsd.org/changeset/ports/330000

Log:
  Fix one build problem with Clang on FreeBSD 10.  There is another problem
  due to conflict between libstdc++ and libc++, it will be fixed separately.
  
  PR:		ports/182425
  Submitted by:	dumbbell

Added:
  head/graphics/darktable/files/
  head/graphics/darktable/files/patch-src-common-imageio_exr.hh   (contents, props changed)

Added: head/graphics/darktable/files/patch-src-common-imageio_exr.hh
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/darktable/files/patch-src-common-imageio_exr.hh	Thu Oct 10 13:46:39 2013	(r330000)
@@ -0,0 +1,24 @@
+--- src/common/imageio_exr.hh.orig
++++ src/common/imageio_exr.hh
+@@ -21,7 +21,11 @@
+ #include "common/image.h"
+ #include "common/mipmap_cache.h"
+ 
++#if __cplusplus >= 201103L || defined(__clang__)
++#include <memory>
++#else
+ #include <tr1/memory>
++#endif
+ 
+ #include <OpenEXR/ImfFrameBuffer.h>
+ #include <OpenEXR/ImfTestFile.h>
+@@ -56,7 +60,11 @@ public:
+   }
+ 
+   uint32_t size;
++#if __cplusplus >= 201103L || defined(__clang__)
++  std::shared_ptr<uint8_t> data;
++#else
+   std::tr1::shared_ptr<uint8_t> data;
++#endif
+ };


More information about the svn-ports-head mailing list