1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-12 01:50:46 +02:00
guix/gnu/packages/patches/mia-openexr3.patch
Maxim Cournoyer d9831cd439
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
2025-04-23 22:24:15 +09:00

27 lines
787 B
Diff

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>