From b6472d5d2e8836fc1d2baf9e728e418e46d6a4d9 Mon Sep 17 00:00:00 2001 From: Richard Shaw Date: Sep 05 2022 13:23:27 +0000 Subject: Add patch to deal with glext header build error. --- diff --git a/OpenColorIO-glext_h.patch b/OpenColorIO-glext_h.patch new file mode 100644 index 0000000..56266f0 --- /dev/null +++ b/OpenColorIO-glext_h.patch @@ -0,0 +1,12 @@ +Index: OpenColorIO-1.0.9/src/apps/ociodisplay/main.cpp +=================================================================== +--- OpenColorIO-1.0.9.orig/src/apps/ociodisplay/main.cpp ++++ OpenColorIO-1.0.9/src/apps/ociodisplay/main.cpp +@@ -43,7 +43,6 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE + #else + #include + #include +-#include + #include + #endif + diff --git a/OpenColorIO.spec b/OpenColorIO.spec index 599a12a..70a73f5 100644 --- a/OpenColorIO.spec +++ b/OpenColorIO.spec @@ -6,7 +6,7 @@ Name: OpenColorIO Version: 1.0.9 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Enables color transforms and image display across graphics apps License: BSD @@ -15,6 +15,7 @@ URL: http://opencolorio.org/ # https://github.com/imageworks/OpenColorIO/tarball/v1.0.9 Source0: %{name}-%{version}.tar.gz Patch0: OpenColorIO-yaml_cpp3.patch +Patch1: OpenColorIO-glext_h.patch # Utilities BuildRequires: cmake @@ -158,6 +159,9 @@ mv %{buildroot}%{_docdir}/%{name}/* _tmpdoc/ %changelog +* Mon Sep 05 2022 Richard Shaw - 1.0.9-5 +- Add patch to deal with glext header build error. + * Tue Oct 04 2016 Richard Shaw - 1.0.9-4.1 - Rebuild for updated OpenImageIO.