Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/Field3D/
Date: Fri, 10 Sep 2021 05:35:40
Message-Id: 1631252097.48d2971d0cf29e0a5231ee713c6535cdde241ad2.sam@gentoo
1 commit: 48d2971d0cf29e0a5231ee713c6535cdde241ad2
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 10 05:34:57 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 10 05:34:57 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d2971d
7
8 media-libs/Field3D: add -DH5_USE_110_API workaround
9
10 Bug: https://bugs.gentoo.org/808703
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 media-libs/Field3D/Field3D-1.7.2.ebuild | 6 +++++-
14 1 file changed, 5 insertions(+), 1 deletion(-)
15
16 diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
17 index 79531d527f6..70644548d8e 100644
18 --- a/media-libs/Field3D/Field3D-1.7.2.ebuild
19 +++ b/media-libs/Field3D/Field3D-1.7.2.ebuild
20 @@ -3,7 +3,7 @@
21
22 EAPI=7
23
24 -inherit cmake
25 +inherit cmake flag-o-matic
26
27 DESCRIPTION="A library for storing voxel data"
28 HOMEPAGE="http://opensource.imageworks.com/?p=field3d"
29 @@ -26,6 +26,10 @@ DEPEND="${RDEPEND}"
30 PATCHES=( "${FILESDIR}/${P}-Use-PkgConfig-for-IlmBase.patch" )
31
32 src_configure() {
33 + # Needed for now ("fix" compatibility with >=sci-libs/hdf5-1.12)
34 + # bug #808731
35 + append-cppflags -DH5_USE_110_API
36 +
37 local mycmakeargs=(
38 -DINSTALL_DOCS=OFF # Docs are not finished yet.
39 -DCMAKE_DISABLE_FIND_PACKAGE_Doxygen=ON