summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/mia-openexr3.patch
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-04-23 21:52:07 +0900
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2025-04-23 22:24:15 +0900
commitd9831cd4399b0f81a8bd4eddab1a0c075bc7751f (patch)
treed61c5797709873870988368306c3d8226505d9bb /gnu/packages/patches/mia-openexr3.patch
parent89de2cb1ef3c0f1ba29397abe9b4ff0885755e89 (diff)
gnu: mia: Fix build.
* gnu/packages/patches/mia-gcc11.patch: New file. * gnu/packages/patches/mia-openexr3.patch: New file. * gnu/local.mk (dist_patch_DATA): Register them. * gnu/packages/image-processing.scm (mia) [patches]: Apply them. [inputs]: Replace hdf5 with hdf5-1.10. Add lapack. Replace openxr-2 with openxr. Move doxygen to... [native-inputs]: ... here. Fixes: bug#47561 Reported-by: Ludovic Courtès <ludo@gnu.org> Change-Id: I337df14370a589c7c15d15bcc69b948b43c2e61b
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>