commit: 9933f6370e9e1af96dad6f922449da5988e2a576 Author: Sergey Torokhov <torokhov-s-a <AT> yandex <DOT> ru> AuthorDate: Sun Jun 6 08:03:37 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Jun 9 21:33:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9933f637
media-libs/gegl: fix USE="openexr" build against media-libs/openexr-3.0.1 Closes: https://bugs.gentoo.org/788400 Signed-off-by: Sergey Torokhov <torokhov-s-a <AT> yandex.ru> Closes: https://github.com/gentoo/gentoo/pull/21135 Signed-off-by: Sam James <sam <AT> gentoo.org> .../files/gegl-0.4.30-fix-build-openexr-3.patch | 22 ++++++++++++++++++++++ media-libs/gegl/gegl-0.4.26-r1.ebuild | 1 + media-libs/gegl/gegl-0.4.28.ebuild | 1 + media-libs/gegl/gegl-0.4.30.ebuild | 4 ++++ 4 files changed, 28 insertions(+) diff --git a/media-libs/gegl/files/gegl-0.4.30-fix-build-openexr-3.patch b/media-libs/gegl/files/gegl-0.4.30-fix-build-openexr-3.patch new file mode 100644 index 00000000000..e0e938acc22 --- /dev/null +++ b/media-libs/gegl/files/gegl-0.4.30-fix-build-openexr-3.patch @@ -0,0 +1,22 @@ +From 499a239d158fadb3a04499255b5b282a8a6023bb Mon Sep 17 00:00:00 2001 +From: Antonio Rojas <[email protected]> +Date: Sat, 24 Apr 2021 10:51:09 +0000 +Subject: [PATCH] Fix build with OpenEXR 3 + +Add a header that is no longer transitively included +--- + operations/external/exr-save.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/operations/external/exr-save.cc b/operations/external/exr-save.cc +index 1e8c09d96..87abed511 100644 +--- a/operations/external/exr-save.cc ++++ b/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" + + diff --git a/media-libs/gegl/gegl-0.4.26-r1.ebuild b/media-libs/gegl/gegl-0.4.26-r1.ebuild index bc7777e314b..71107e34e87 100644 --- a/media-libs/gegl/gegl-0.4.26-r1.ebuild +++ b/media-libs/gegl/gegl-0.4.26-r1.ebuild @@ -79,6 +79,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.4.18-drop-failing-tests.patch "${FILESDIR}"/${PN}-0.4.18-program-suffix.patch "${FILESDIR}"/${P}-fix-build-glib-2.67.3.patch + "${FILESDIR}"/${PN}-0.4.30-fix-build-openexr-3.patch ) python_check_deps() { diff --git a/media-libs/gegl/gegl-0.4.28.ebuild b/media-libs/gegl/gegl-0.4.28.ebuild index ba46251dad9..db9f50a4fb7 100644 --- a/media-libs/gegl/gegl-0.4.28.ebuild +++ b/media-libs/gegl/gegl-0.4.28.ebuild @@ -79,6 +79,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.4.18-drop-failing-tests.patch "${FILESDIR}"/${PN}-0.4.18-program-suffix.patch "${FILESDIR}"/${PN}-0.4.26-fix-build-glib-2.67.3.patch + "${FILESDIR}"/${PN}-0.4.30-fix-build-openexr-3.patch ) python_check_deps() { diff --git a/media-libs/gegl/gegl-0.4.30.ebuild b/media-libs/gegl/gegl-0.4.30.ebuild index 62fe72b1c9a..0f6d0b73825 100644 --- a/media-libs/gegl/gegl-0.4.30.ebuild +++ b/media-libs/gegl/gegl-0.4.30.ebuild @@ -75,6 +75,10 @@ BDEPEND=" DOCS=( AUTHORS docs/ChangeLog docs/NEWS.txt ) +PATCHES=( + "${FILESDIR}"/${P}-fix-build-openexr-3.patch +) + python_check_deps() { use test || return 0 has_version -b ">=dev-python/pygobject-3.2:3[${PYTHON_USEDEP}]"
