summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-09-10 06:34:57 +0100
committerSam James <sam@gentoo.org>2021-09-10 06:34:57 +0100
commit48d2971d0cf29e0a5231ee713c6535cdde241ad2 (patch)
tree682922a9b10c0e1e758a76f2a464275cff393d4f /media-libs/Field3D
parentmedia-libs/vigra: add -DH5_USE_110_API workaround (diff)
downloadgentoo-48d2971d0cf29e0a5231ee713c6535cdde241ad2.tar.gz
gentoo-48d2971d0cf29e0a5231ee713c6535cdde241ad2.tar.bz2
gentoo-48d2971d0cf29e0a5231ee713c6535cdde241ad2.zip
media-libs/Field3D: add -DH5_USE_110_API workaround
Bug: https://bugs.gentoo.org/808703 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs/Field3D')
-rw-r--r--media-libs/Field3D/Field3D-1.7.2.ebuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/media-libs/Field3D/Field3D-1.7.2.ebuild b/media-libs/Field3D/Field3D-1.7.2.ebuild
index 79531d527f6e..70644548d8ee 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