commit:     31fc07b42f9c2ffaa7bdba90b81f14215f2a454e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 31 08:22:58 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Oct 31 08:37:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31fc07b4

media-gfx/openvdb: find Imath correctly

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

 media-gfx/openvdb/openvdb-9.0.0.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/media-gfx/openvdb/openvdb-9.0.0.ebuild 
b/media-gfx/openvdb/openvdb-9.0.0.ebuild
index 0ab627d92f6..64c112a260e 100644
--- a/media-gfx/openvdb/openvdb-9.0.0.ebuild
+++ b/media-gfx/openvdb/openvdb-9.0.0.ebuild
@@ -71,6 +71,12 @@ pkg_setup() {
        use python && python-single-r1_pkg_setup
 }
 
+src_prepare() {
+       sed -i -e 's:#include <Imath/half.h>:#include <Imath-3/half.h>:' 
openvdb/openvdb/Types.h || die
+
+       cmake_src_prepare
+}
+
 src_configure() {
        local myprefix="${EPREFIX}/usr/"
 

Reply via email to