logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

opencolorio-1.1.0-yaml-cpp-0.6.patch (2315B)


  1. commit 8ce96cc5d590a1c094fb316968f2db8464f3be82
  2. Author: Joakim NohlgÄrd <joakim.nohlgard@eistec.se>
  3. Date: Fri Mar 30 13:47:28 2018 +0200
  4. OCIOYaml: Remove forward declarations to use system yaml-cpp headers
  5. diff --git a/src/core/OCIOYaml.cpp b/src/core/OCIOYaml.cpp
  6. index 68fcef6..8047d7e 100644
  7. --- a/src/core/OCIOYaml.cpp
  8. +++ b/src/core/OCIOYaml.cpp
  9. @@ -30,43 +30,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  10. #include <OpenColorIO/OpenColorIO.h>
  11. -#ifndef WIN32
  12. -
  13. -// fwd declare yaml-cpp visibility
  14. -#pragma GCC visibility push(hidden)
  15. -namespace YAML {
  16. - class Exception;
  17. - class BadDereference;
  18. - class RepresentationException;
  19. - class EmitterException;
  20. - class ParserException;
  21. - class InvalidScalar;
  22. - class KeyNotFound;
  23. - template <typename T> class TypedKeyNotFound;
  24. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::ColorSpace>;
  25. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::Config>;
  26. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::Exception>;
  27. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::GpuShaderDesc>;
  28. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::ImageDesc>;
  29. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::Look>;
  30. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::Processor>;
  31. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::Transform>;
  32. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::AllocationTransform>;
  33. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::CDLTransform>;
  34. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::ColorSpaceTransform>;
  35. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::DisplayTransform>;
  36. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::ExponentTransform>;
  37. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::FileTransform>;
  38. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::GroupTransform>;
  39. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::LogTransform>;
  40. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::LookTransform>;
  41. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::MatrixTransform>;
  42. - template <> class TypedKeyNotFound<OCIO_NAMESPACE::TruelightTransform>;
  43. -}
  44. -#pragma GCC visibility pop
  45. -
  46. -#endif
  47. -
  48. #ifdef WIN32
  49. #pragma warning( push )
  50. #pragma warning( disable: 4146 )