From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1319768-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 9494F15808D
	for <garchives@archives.gentoo.org>; Fri, 10 Sep 2021 05:35:40 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 95E3CE08C4;
	Fri, 10 Sep 2021 05:35:39 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(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 7E732E08C4
	for <gentoo-commits@lists.gentoo.org>; Fri, 10 Sep 2021 05:35:39 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(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 7BE65335DC6
	for <gentoo-commits@lists.gentoo.org>; Fri, 10 Sep 2021 05:35:38 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id D563855
	for <gentoo-commits@lists.gentoo.org>; Fri, 10 Sep 2021 05:35:36 +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: <1631252097.48d2971d0cf29e0a5231ee713c6535cdde241ad2.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/Field3D/Field3D-1.7.2.ebuild
X-VCS-Directories: media-libs/Field3D/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 48d2971d0cf29e0a5231ee713c6535cdde241ad2
X-VCS-Branch: master
Date: Fri, 10 Sep 2021 05:35:36 +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: 92f7278c-922d-47e2-884c-8f4c35df2827
X-Archives-Hash: 568c3a1875a1f27fb79c62e6607699dc

commit:     48d2971d0cf29e0a5231ee713c6535cdde241ad2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Sep 10 05:34:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep 10 05:34:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d2971d

media-libs/Field3D: add -DH5_USE_110_API workaround

Bug: https://bugs.gentoo.org/808703
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/Field3D/Field3D-1.7.2.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
index 79531d527f6..70644548d8e 100644
--- a/media-libs/Field3D/Field3D-1.7.2.ebuild
+++ b/media-libs/Field3D/Field3D-1.7.2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake flag-o-matic
 
 DESCRIPTION="A library for storing voxel data"
 HOMEPAGE="http://opensource.imageworks.com/?p=field3d"
@@ -26,6 +26,10 @@ DEPEND="${RDEPEND}"
 PATCHES=( "${FILESDIR}/${P}-Use-PkgConfig-for-IlmBase.patch" )
 
 src_configure() {
+	# Needed for now ("fix" compatibility with >=sci-libs/hdf5-1.12)
+	# bug #808731
+	append-cppflags -DH5_USE_110_API
+
 	local mycmakeargs=(
 		-DINSTALL_DOCS=OFF # Docs are not finished yet.
 		-DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON