From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1291852-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 83E931382C5
	for <garchives@archives.gentoo.org>; Wed,  9 Jun 2021 21:34:20 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 89B44E0391;
	Wed,  9 Jun 2021 21:34:19 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 6BCC3E0391
	for <gentoo-commits@lists.gentoo.org>; Wed,  9 Jun 2021 21:34:19 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0640B340B28
	for <gentoo-commits@lists.gentoo.org>; Wed,  9 Jun 2021 21:34:18 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 6BEFF7A5
	for <gentoo-commits@lists.gentoo.org>; Wed,  9 Jun 2021 21:34:16 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1623274437.9933f6370e9e1af96dad6f922449da5988e2a576.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/gegl/, media-libs/gegl/files/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/gegl/files/gegl-0.4.30-fix-build-openexr-3.patch media-libs/gegl/gegl-0.4.26-r1.ebuild media-libs/gegl/gegl-0.4.28.ebuild media-libs/gegl/gegl-0.4.30.ebuild
X-VCS-Directories: media-libs/gegl/files/ media-libs/gegl/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 9933f6370e9e1af96dad6f922449da5988e2a576
X-VCS-Branch: master
Date: Wed,  9 Jun 2021 21:34:16 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 5c8731ca-db67-4939-b15a-072e98412022
X-Archives-Hash: a6946bf31621a112377eb5f8838121ef

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 <arojas@archlinux.org>
+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}]"