1 |
commit: 31fc07b42f9c2ffaa7bdba90b81f14215f2a454e |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 31 08:22:58 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 08:37:32 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31fc07b4 |
7 |
|
8 |
media-gfx/openvdb: find Imath correctly |
9 |
|
10 |
Closes: https://bugs.gentoo.org/820929 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
media-gfx/openvdb/openvdb-9.0.0.ebuild | 6 ++++++ |
14 |
1 file changed, 6 insertions(+) |
15 |
|
16 |
diff --git a/media-gfx/openvdb/openvdb-9.0.0.ebuild b/media-gfx/openvdb/openvdb-9.0.0.ebuild |
17 |
index 0ab627d92f6..64c112a260e 100644 |
18 |
--- a/media-gfx/openvdb/openvdb-9.0.0.ebuild |
19 |
+++ b/media-gfx/openvdb/openvdb-9.0.0.ebuild |
20 |
@@ -71,6 +71,12 @@ pkg_setup() { |
21 |
use python && python-single-r1_pkg_setup |
22 |
} |
23 |
|
24 |
+src_prepare() { |
25 |
+ sed -i -e 's:#include <Imath/half.h>:#include <Imath-3/half.h>:' openvdb/openvdb/Types.h || die |
26 |
+ |
27 |
+ cmake_src_prepare |
28 |
+} |
29 |
+ |
30 |
src_configure() { |
31 |
local myprefix="${EPREFIX}/usr/" |