media-libs/opencolorio: fix Clang build

Thanks-to: 0xC0ncord <me@concord.sh>
Bug: https://bugs.gentoo.org/754966
Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2020-11-18 19:21:00 +00:00
parent 63b46c711f
commit 175603a404
2 changed files with 15 additions and 0 deletions
@@ -0,0 +1,14 @@
https://bugs.gentoo.org/754966
https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/563
Fixed upstream in a larger set of changes.
--- a/src/core/Config.cpp
+++ b/src/core/Config.cpp
@@ -330,7 +330,7 @@
sanitytext_ = rhs.sanitytext_;
cacheids_ = rhs.cacheids_;
- cacheidnocontext_ = cacheidnocontext_;
+ cacheidnocontext_ = rhs.cacheidnocontext_;
}
return *this;
}
@@ -52,6 +52,7 @@ PATCHES=(
"${FILESDIR}/${PN}-1.1.0-yaml-cpp-0.6.patch"
"${FILESDIR}/${PN}-1.1.0-remove-Werror.patch"
"${FILESDIR}/${PN}-1.1.1-yaml-cpp-boost-check.patch"
"${FILESDIR}/${P}-fix-self-assign-clang.patch"
)
pkg_setup() {