diff --git a/OpenColorIO.spec b/OpenColorIO.spec index 210e501..6c8b94f 100644 --- a/OpenColorIO.spec +++ b/OpenColorIO.spec @@ -20,6 +20,8 @@ Patch0: OpenColorIO-setuptools.patch # https://github.com/imageworks/OpenColorIO/issues/517 Patch1: ocio-1.1.0-yamlcpp060.patch Patch2: ocio-glext_h.patch +# https://bugzilla.redhat.com/show_bug.cgi?id=1923344 +Patch3: ocio-null_pointer.patch # Utilities BuildRequires: cmake gcc-c++ @@ -73,8 +75,6 @@ BuildRequires: tex(cm-super-ts1.enc) # Fonts BuildRequires: texlive-cm texlive-ec texlive-times texlive-helvetic BuildRequires: texlive-courier -# Font maps -BuildRequires: texlive-updmap-map # Babel BuildRequires: texlive-babel-english # Styles diff --git a/ocio-null_pointer.patch b/ocio-null_pointer.patch new file mode 100644 index 0000000..da81df0 --- /dev/null +++ b/ocio-null_pointer.patch @@ -0,0 +1,15 @@ +Index: OpenColorIO-1.1.1/src/core/ImageDesc.cpp +=================================================================== +--- OpenColorIO-1.1.1.orig/src/core/ImageDesc.cpp ++++ OpenColorIO-1.1.1/src/core/ImageDesc.cpp +@@ -57,8 +57,8 @@ OCIO_NAMESPACE_ENTER + os << "gData=" << planarImg->getGData() << ", "; + os << "bData=" << planarImg->getBData() << ", "; + os << "aData=" << planarImg->getAData() << ", "; +- os << "width=" << packedImg->getWidth() << ", "; +- os << "height=" << packedImg->getHeight() << ", "; ++ os << "width=" << planarImg->getWidth() << ", "; ++ os << "height=" << planarImg->getHeight() << ", "; + os << "yStrideBytes=" << planarImg->getYStrideBytes() << ""; + os << ">"; + }