pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/opencolorio Bump revision for yaml-cpp depend...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/199883af2c8c
branches:  trunk
changeset: 308860:199883af2c8c
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jun 02 19:06:55 2018 +0000

description:
Bump revision for yaml-cpp dependency change. Require C++11 as
dependency already does. Don't use TR1.

diffstat:

 graphics/opencolorio/Makefile                                           |   5 +-
 graphics/opencolorio/distinfo                                           |   3 +-
 graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in |  27 ++++++++++
 3 files changed, 32 insertions(+), 3 deletions(-)

diffs (65 lines):

diff -r ea264f890981 -r 199883af2c8c graphics/opencolorio/Makefile
--- a/graphics/opencolorio/Makefile     Sat Jun 02 19:04:32 2018 +0000
+++ b/graphics/opencolorio/Makefile     Sat Jun 02 19:06:55 2018 +0000
@@ -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 @@
 
 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
diff -r ea264f890981 -r 199883af2c8c graphics/opencolorio/distinfo
--- a/graphics/opencolorio/distinfo     Sat Jun 02 19:04:32 2018 +0000
+++ b/graphics/opencolorio/distinfo     Sat Jun 02 19:06:55 2018 +0000
@@ -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
diff -r ea264f890981 -r 199883af2c8c graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/opencolorio/patches/patch-export_OpenColorIO_OpenColorABI.h.in   Sat Jun 02 19:06:55 2018 +0000
@@ -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