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:   nia
Date:           Fri Sep 10 12:21:57 UTC 2021

Modified Files:
        pkgsrc/graphics/opencolorio: distinfo
        pkgsrc/graphics/opencolorio/patches: patch-src_core_OCIOYaml.cpp

Log Message:
opencolorio: Unbreak with latest yaml-cpp


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/graphics/opencolorio/distinfo
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/graphics/opencolorio/patches/patch-src_core_OCIOYaml.cpp

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/distinfo
diff -u pkgsrc/graphics/opencolorio/distinfo:1.4 pkgsrc/graphics/opencolorio/distinfo:1.5
--- pkgsrc/graphics/opencolorio/distinfo:1.4    Wed Sep 18 22:30:49 2019
+++ pkgsrc/graphics/opencolorio/distinfo        Fri Sep 10 12:21:57 2021
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.4 2019/09/18 22:30:49 nia Exp $
+$NetBSD: distinfo,v 1.5 2021/09/10 12:21:57 nia Exp $
 
 SHA1 (OpenColorIO-1.1.1.tar.gz) = 511bbea2ad361ee59b067be85544518f7502fe1c
 RMD160 (OpenColorIO-1.1.1.tar.gz) = cf12012c1b2b56789ce92bd0457553cfbdc17895
 SHA512 (OpenColorIO-1.1.1.tar.gz) = bed722f9ddce1887d28aacef2882debccd7c3f3c0c708d2723fea58a097de9f02721af9e85453e089ffda5406aef593ab6536c6886307823c132aa787e492e33
 Size (OpenColorIO-1.1.1.tar.gz) = 13828483 bytes
 SHA1 (patch-export_OpenColorIO_OpenColorABI.h.in) = cc1bae24995365513ca16dc41be21a7c52d59b5c
-SHA1 (patch-src_core_OCIOYaml.cpp) = 853b28ad6673cb703c286b88c2f1c0cf1a87cccb
+SHA1 (patch-src_core_OCIOYaml.cpp) = b471f546ebaea375ee28ad3b690b39221f3737ff
 SHA1 (patch-src_core_Platform.h) = ff731e912354126992e30fbdc2a6ce39da6df082

Index: pkgsrc/graphics/opencolorio/patches/patch-src_core_OCIOYaml.cpp
diff -u pkgsrc/graphics/opencolorio/patches/patch-src_core_OCIOYaml.cpp:1.1 pkgsrc/graphics/opencolorio/patches/patch-src_core_OCIOYaml.cpp:1.2
--- pkgsrc/graphics/opencolorio/patches/patch-src_core_OCIOYaml.cpp:1.1 Wed Sep 18 22:30:49 2019
+++ pkgsrc/graphics/opencolorio/patches/patch-src_core_OCIOYaml.cpp     Fri Sep 10 12:21:57 2021
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_core_OCIOYaml.cpp,v 1.1 2019/09/18 22:30:49 nia Exp $
+$NetBSD: patch-src_core_OCIOYaml.cpp,v 1.2 2021/09/10 12:21:57 nia Exp $
 
 Description: Fix build with yaml-cpp 0.6
  One of the changes in yaml-cpp 0.6 was the replacement of some inline
@@ -58,3 +58,16 @@ Bug: https://github.com/imageworks/OpenC
  #ifdef WIN32
  #pragma warning( push )
  #pragma warning( disable: 4146 )
+@@ -1439,11 +1402,7 @@ OCIO_NAMESPACE_ENTER
+             
+             // check profile version
+             int profile_version = 0;
+-#ifdef OLDYAML
+-            if(node.FindValue("ocio_profile_version") == NULL)
+-#else
+-            if(node["ocio_profile_version"] == NULL)
+-#endif
++            if(!node["ocio_profile_version"].IsDefined())
+             {
+                 std::ostringstream os;
+                 os << "The specified file ";



Home | Main Index | Thread Index | Old Index