mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
media-libs/openimageio: avoid finding OpenEXR 3 for 2.2.{18,19} too
Bug: https://bugs.gentoo.org/816264 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -95,6 +95,15 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Note: on bumps, please try again with OpenEXR 3 + ilmmath!
|
||||
# Sabotage finding OpenEXR 3 for now to force usage of OpenEXR 2
|
||||
# (because it mix and matches which version it uses; sed this to
|
||||
# make sure it'll use OpenEXR 3 if it can, but it won't.)
|
||||
# bug #821193
|
||||
sed -i \
|
||||
-e 's/find_package(OpenEXR CONFIG)/find_package(OpenEXR-3 CONFIG)/' \
|
||||
src/cmake/modules/FindOpenEXR.cmake || die
|
||||
|
||||
cmake_src_prepare
|
||||
cmake_comment_add_subdirectory src/fonts
|
||||
}
|
||||
|
||||
@@ -95,6 +95,15 @@ pkg_setup() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Note: on bumps, please try again with OpenEXR 3 + ilmmath!
|
||||
# Sabotage finding OpenEXR 3 for now to force usage of OpenEXR 2
|
||||
# (because it mix and matches which version it uses; sed this to
|
||||
# make sure it'll use OpenEXR 3 if it can, but it won't.)
|
||||
# bug #821193
|
||||
sed -i \
|
||||
-e 's/find_package(OpenEXR CONFIG)/find_package(OpenEXR-3 CONFIG)/' \
|
||||
src/cmake/modules/FindOpenEXR.cmake || die
|
||||
|
||||
cmake_src_prepare
|
||||
cmake_comment_add_subdirectory src/fonts
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user