From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1329756-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 DC6DC158086
	for <garchives@archives.gentoo.org>; Tue, 12 Oct 2021 07:05:04 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id E9B4BE07F0;
	Tue, 12 Oct 2021 07:05:02 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C811DE07F0
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Oct 2021 07:05:02 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id B2FD6343388
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Oct 2021 07:05:00 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 2F8BACA
	for <gentoo-commits@lists.gentoo.org>; Tue, 12 Oct 2021 07:04:59 +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: <1634022289.4ea14acad668034f2a333794fe63b773ac99fe1f.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/avogadrolibs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild
X-VCS-Directories: sci-libs/avogadrolibs/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: 4ea14acad668034f2a333794fe63b773ac99fe1f
X-VCS-Branch: master
Date: Tue, 12 Oct 2021 07:04:59 +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: f9870692-84c9-47c7-a20c-d152436daae1
X-Archives-Hash: 431dd5821bf3f01bf77c036e46237e79

commit:     4ea14acad668034f2a333794fe63b773ac99fe1f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 12 07:04:24 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 12 07:04:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea14aca

sci-libs/avogadrolibs: apply (upstream) workaround for older hdf5lib API

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

 sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild
index a2872894639..4db9d9a0c2b 100644
--- a/sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild
+++ b/sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -62,6 +62,11 @@ src_unpack() {
 }
 
 src_configure() {
+	# Seems to be what upstream are using too. Apply the old hdf5lib workaround.
+	# https://github.com/OpenChemistry/avogadrolibs/commit/32e3dd8ce9f48f74e3960dc9afcc614496d87c7f
+	# bug #810505
+	append-cppflags -DH5_USE_110_API
+
 	# -DBUILD_STATIC_PLUGINS=$(usex static-plugins)
 	local mycmakeargs=(
 		-DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"