mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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
This commit is contained in:
parent
89de2cb1ef
commit
d9831cd439
4 changed files with 143 additions and 5 deletions
27
gnu/packages/patches/mia-openexr3.patch
Normal file
27
gnu/packages/patches/mia-openexr3.patch
Normal file
|
@ -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>
|
Loading…
Add table
Add a link
Reference in a new issue