Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2013 13:46:39 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r330000 - head/graphics/darktable/files
Message-ID:  <201310101346.r9ADkdZQ043942@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
+ };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310101346.r9ADkdZQ043942>