graphics/gegl: make compatible with OpenEXR/Imath 3.0

This commit is contained in:
Matthias Andree 2021-04-10 18:02:26 +02:00
parent f998e5176d
commit 09382aa3f5
2 changed files with 13 additions and 2 deletions

View File

@ -2,6 +2,7 @@
PORTNAME= gegl
PORTVERSION= 0.4.30
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= GIMP
@ -76,8 +77,8 @@ JASPER_MESON_ENABLED= jasper
LCMS2_LIB_DEPENDS= liblcms2.so:graphics/lcms2
LCMS2_MESON_ENABLED= lcms
OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr \
libImath.so:graphics/ilmbase
OPENEXR_LIB_DEPENDS= libOpenEXR.so:graphics/openexr \
libImath.so:math/Imath
OPENEXR_MESON_ENABLED= openexr
RAW_LIB_DEPENDS= libraw.so:graphics/libraw

View File

@ -0,0 +1,10 @@
--- operations/external/exr-save.cc.orig 2021-03-27 19:13:57 UTC
+++ operations/external/exr-save.cc
@@ -45,6 +45,7 @@ extern "C" {
#include <ImfChromaticities.h>
#include <ImfStandardAttributes.h>
#include <ImfArray.h>
+#include <ImfFrameBuffer.h>
#include "ImathRandom.h"