[MacPorts] #63529: opencolorio: fix compatibility with yaml-cpp-0.7.0

MacPorts noreply at macports.org
Wed Sep 22 22:08:52 UTC 2021


#63529: opencolorio: fix compatibility with yaml-cpp-0.7.0
----------------------+-------------------------
 Reporter:  devernay  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.7.1
 Keywords:            |       Port:  opencolorio
----------------------+-------------------------
 The upgrade of yaml-cpp broke OCIO 1.1.1 (please don't upgrade to OCIO 2.0
 which is  a major API change, see if we can have both installed
 simultaneously).

 The fix is simple, but I don't have the time to do a PR, so I'm just
 filing a ticket for now.
 line 1408 of src/core/OCIOYaml.cpp, change
 {{{
             if(node["ocio_profile_version"] == NULL)
 }}}
 to
 {{{
             if(!node["ocio_profile_version"])
 }}}
 (it's even backward-compatible with yaml-cpp 0.6.3)

-- 
Ticket URL: <https://trac.macports.org/ticket/63529>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list