summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-10-12 08:04:24 +0100
committerSam James <sam@gentoo.org>2021-10-12 08:04:49 +0100
commit4ea14acad668034f2a333794fe63b773ac99fe1f (patch)
tree722457cfe581641d8ec8f7984e0e17ad17b97265 /sci-libs
parentsci-libs/h5hut: add comment to ebuild on < hdf5 dep (diff)
downloadgentoo-4ea14acad668034f2a333794fe63b773ac99fe1f.tar.gz
gentoo-4ea14acad668034f2a333794fe63b773ac99fe1f.tar.bz2
gentoo-4ea14acad668034f2a333794fe63b773ac99fe1f.zip
sci-libs/avogadrolibs: apply (upstream) workaround for older hdf5lib API
Bug: https://bugs.gentoo.org/810505 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild7
1 files changed, 6 insertions, 1 deletions
diff --git a/sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild b/sci-libs/avogadrolibs/avogadrolibs-1.93.0.ebuild
index a2872894639d..4db9d9a0c2b9 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}"