pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/graphics/opencolorio
Module Name: pkgsrc
Committed By: joerg
Date: Sat Jun 2 19:06:55 UTC 2018
Modified Files:
pkgsrc/graphics/opencolorio: Makefile distinfo
Added Files:
pkgsrc/graphics/opencolorio/patches:
patch-export_OpenColorIO_OpenColorABI.h.in
Log Message:
Bump revision for yaml-cpp dependency change. Require C++11 as
dependency already does. Don't use TR1.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/graphics/opencolorio/Makefile \
pkgsrc/graphics/opencolorio/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/graphics/opencolorio/Makefile
diff -u pkgsrc/graphics/opencolorio/Makefile:1.2 pkgsrc/graphics/opencolorio/Makefile:1.3
--- pkgsrc/graphics/opencolorio/Makefile:1.2 Sun Apr 8 00:40:50 2018
+++ pkgsrc/graphics/opencolorio/Makefile Sat Jun 2 19:06:55 2018
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2018/04/08 00:40:50 markd Exp $
+# $NetBSD: Makefile,v 1.3 2018/06/02 19:06:55 joerg Exp $
DISTNAME= OpenColorIO-1.0.9
+PKGREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=imageworks/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -12,7 +13,7 @@ LICENSE= modified-bsd AND mit
USE_CMAKE= yes
USE_TOOLS+= pkg-config
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
CMAKE_ARGS+= -DUSE_EXTERNAL_TINYXML:BOOL=ON
CMAKE_ARGS+= -DUSE_EXTERNAL_YAML:BOOL=ON
Index: pkgsrc/graphics/opencolorio/distinfo
diff -u pkgsrc/graphics/opencolorio/distinfo:1.2 pkgsrc/graphics/opencolorio/distinfo:1.3
--- pkgsrc/graphics/opencolorio/distinfo:1.2 Sun Apr 8 00:40:50 2018
+++ pkgsrc/graphics/opencolorio/distinfo Sat Jun 2 19:06:55 2018
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2018/04/08 00:40:50 markd Exp $
+$NetBSD: distinfo,v 1.3 2018/06/02 19:06:55 joerg Exp $
SHA1 (OpenColorIO-1.0.9.tar.gz) = 45efcc24db8f8830b6892830839da085e19eeb6d
RMD160 (OpenColorIO-1.0.9.tar.gz) = e079dd69392f01fcf995e25639d6acb42580085e
SHA512 (OpenColorIO-1.0.9.tar.gz) = ac953ba9904aff44de37cc2ee60dbf524bd86d25f699c1eacaa61ca30fed8f077194d47d34a72c05b706da7e1a3974a988d67d60031d424d91b9240f8ab86ed3
Size (OpenColorIO-1.0.9.tar.gz) = 13620332 bytes
+SHA1 (patch-export_OpenColorIO_OpenColorABI.h.in) = 3c67e56d12de21f22a2a0e5d750462d73b8315fd
SHA1 (patch-src_core_Platform.h) = beb7c4945e2f59f7d157e1af0f7f76682dcfee2f
Added files:
Index: pkgsrc/graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in
diff -u /dev/null pkgsrc/graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in:1.1
--- /dev/null Sat Jun 2 19:06:55 2018
+++ pkgsrc/graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in Sat Jun 2 19:06:55 2018
@@ -0,0 +1,27 @@
+$NetBSD: patch-export_OpenColorIO_OpenColorABI.h.in,v 1.1 2018/06/02 19:06:55 joerg Exp $
+
+--- export/OpenColorIO/OpenColorABI.h.in.orig 2018-06-02 18:44:34.294762599 +0000
++++ export/OpenColorIO/OpenColorABI.h.in
+@@ -50,17 +50,17 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ #define OCIO_NAMESPACE_EXIT using namespace OCIO_VERSION_NS; }
+ #define OCIO_NAMESPACE_USING using namespace OCIO_NAMESPACE;
+
++#include <cstddef>
++
+ // shared_ptr / dynamic_pointer_cast
+ #if OCIO_USE_BOOST_PTR
+ #include <boost/shared_ptr.hpp>
+ #define OCIO_SHARED_PTR boost::shared_ptr
+ #define OCIO_DYNAMIC_POINTER_CAST boost::dynamic_pointer_cast
+-#elif __GNUC__ >= 4
+-#include <tr1/memory>
+-#define OCIO_SHARED_PTR std::tr1::shared_ptr
+-#define OCIO_DYNAMIC_POINTER_CAST std::tr1::dynamic_pointer_cast
+ #else
+-#error OCIO needs gcc 4 or later to get access to <tr1/memory> (or specify USE_BOOST_PTR instead)
++#include <memory>
++#define OCIO_SHARED_PTR std::shared_ptr
++#define OCIO_DYNAMIC_POINTER_CAST std::dynamic_pointer_cast
+ #endif
+
+ // If supported, define OCIOEXPORT, OCIOHIDDEN
Home |
Main Index |
Thread Index |
Old Index