summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/mia-openexr3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/mia-openexr3.patch')
-rw-r--r--gnu/packages/patches/mia-openexr3.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/patches/mia-openexr3.patch b/gnu/packages/patches/mia-openexr3.patch
new file mode 100644
index 0000000000..5205d73355
--- /dev/null
+++ b/gnu/packages/patches/mia-openexr3.patch
@@ -0,0 +1,27 @@
+Description: Fix compilation with openexr 3.x
+Author: Mathieu Malaterre <malat@debian.org>
+Bug-Debian: https://bugs.debian.org/1017517
+
+--- mia-2.4.7.orig/addons/openexr/2dimgexr.cc
++++ mia-2.4.7/addons/openexr/2dimgexr.cc
+@@ -25,6 +25,9 @@
+ #include <ImfChannelList.h>
+ #include <ImfStringAttribute.h>
+ #include <ImfMatrixAttribute.h>
++#include <ImathBox.h>
++#include <ImfFrameBuffer.h>
++#include <ImfHeader.h>
+
+ #include <mia/core/file.hh>
+ #include <mia/core/filter.hh>
+--- mia-2.4.7.orig/addons/openexr/2dvfexr.cc
++++ mia-2.4.7/addons/openexr/2dvfexr.cc
+@@ -25,6 +25,8 @@
+ #include <ImfChannelList.h>
+ #include <ImfStringAttribute.h>
+ #include <ImfMatrixAttribute.h>
++#include <ImfHeader.h>
++#include <ImfFrameBuffer.h>
+
+ #include <mia/core/file.hh>
+ #include <mia/core/filter.hh>