diff options
author | Sam James <sam@gentoo.org> | 2021-09-10 06:22:31 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-09-10 06:23:26 +0100 |
commit | b0ca3df14e110dba28d75a7023b423c79346b58b (patch) | |
tree | 788efbc0bd22f2ebb27e273fd36a775f785db7ee /media-libs | |
parent | riscv: profile: add desktop/{gnome,plasma,systemd} profiles (diff) | |
download | gentoo-b0ca3df14e110dba28d75a7023b423c79346b58b.tar.gz gentoo-b0ca3df14e110dba28d75a7023b423c79346b58b.tar.bz2 gentoo-b0ca3df14e110dba28d75a7023b423c79346b58b.zip |
media-libs/vigra: add -DH5_USE_110_API workaround
Bug: https://bugs.gentoo.org/808731
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/vigra/vigra-1.11.1-r3.ebuild | 6 | ||||
-rw-r--r-- | media-libs/vigra/vigra-9999.ebuild | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/media-libs/vigra/vigra-1.11.1-r3.ebuild b/media-libs/vigra/vigra-1.11.1-r3.ebuild index 714a95b192e1..65fd07b618ac 100644 --- a/media-libs/vigra/vigra-1.11.1-r3.ebuild +++ b/media-libs/vigra/vigra-1.11.1-r3.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) PYTHON_REQ_USE="threads(+),xml" -inherit cmake python-r1 +inherit cmake flag-o-matic python-r1 DESCRIPTION="C++ computer vision library emphasizing customizable algorithms and structures" HOMEPAGE="https://ukoethe.github.io/vigra/" @@ -102,6 +102,10 @@ src_prepare() { } src_configure() { + # Needed for now ("fix" compatibility with >=sci-libs/hdf5-1.12) + # bug #808731 + use hdf5 && append-cppflags -DH5_USE_110_API + vigra_configure() { local mycmakeargs=( -DAUTOEXEC_TESTS=OFF diff --git a/media-libs/vigra/vigra-9999.ebuild b/media-libs/vigra/vigra-9999.ebuild index 9ffac6b73b01..171eedd560f8 100644 --- a/media-libs/vigra/vigra-9999.ebuild +++ b/media-libs/vigra/vigra-9999.ebuild @@ -5,7 +5,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) PYTHON_REQ_USE="threads(+),xml" -inherit cmake python-r1 +inherit cmake flag-o-matic python-r1 DESCRIPTION="C++ computer vision library emphasizing customizable algorithms and structures" HOMEPAGE="https://ukoethe.github.io/vigra/" @@ -106,6 +106,10 @@ src_prepare() { } src_configure() { + # Needed for now ("fix" compatibility with >=sci-libs/hdf5-1.12) + # bug #808731 + use hdf5 && append-cppflags -DH5_USE_110_API + vigra_configure() { local mycmakeargs=( -DAUTOEXEC_TESTS=OFF |