Add missing openexr header to support future openexr 3.0 build.

This commit is contained in:
Richard Shaw 2021-06-06 06:50:57 -05:00
parent 2c01145490
commit 4134b5555a
2 changed files with 14 additions and 0 deletions

12
gegl04-openexr.patch Normal file
View File

@ -0,0 +1,12 @@
Index: gegl-0.4.30/operations/external/exr-save.cc
===================================================================
--- gegl-0.4.30.orig/operations/external/exr-save.cc
+++ gegl-0.4.30/operations/external/exr-save.cc
@@ -39,6 +39,7 @@ extern "C" {
} /* extern "C" */
#include <exception>
+#include <ImfFrameBuffer.h>
#include <ImfTiledOutputFile.h>
#include <ImfOutputFile.h>
#include <ImfChannelList.h>

View File

@ -11,6 +11,8 @@ License: LGPLv3+
URL: http://www.gegl.org/ URL: http://www.gegl.org/
Source0: http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar.xz Source0: http://download.gimp.org/pub/gegl/%{apiver}/gegl-%{version}.tar.xz
Patch0: gegl04-openexr.patch
BuildRequires: chrpath BuildRequires: chrpath
BuildRequires: enscript BuildRequires: enscript
BuildRequires: gcc-c++ BuildRequires: gcc-c++