diff options
author | Sam James <sam@gentoo.org> | 2020-11-18 19:20:55 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-11-18 19:21:00 +0000 |
commit | 175603a404585a7e5c045c4bab7982b617bec5cd (patch) | |
tree | 56f4b6113815d5788d267e4d27a290e69de1cf9f /media-libs/opencolorio | |
parent | profiles/base/package.use.force: force gcc-config[cc-wrappers] (diff) | |
download | gentoo-175603a404585a7e5c045c4bab7982b617bec5cd.tar.gz gentoo-175603a404585a7e5c045c4bab7982b617bec5cd.tar.bz2 gentoo-175603a404585a7e5c045c4bab7982b617bec5cd.zip |
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>
Diffstat (limited to 'media-libs/opencolorio')
-rw-r--r-- | media-libs/opencolorio/files/opencolorio-1.1.1-fix-self-assign-clang.patch | 14 | ||||
-rw-r--r-- | media-libs/opencolorio/opencolorio-1.1.1.ebuild | 1 |
2 files changed, 15 insertions, 0 deletions
diff --git a/media-libs/opencolorio/files/opencolorio-1.1.1-fix-self-assign-clang.patch b/media-libs/opencolorio/files/opencolorio-1.1.1-fix-self-assign-clang.patch new file mode 100644 index 000000000000..c6193277458f --- /dev/null +++ b/media-libs/opencolorio/files/opencolorio-1.1.1-fix-self-assign-clang.patch @@ -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; + } diff --git a/media-libs/opencolorio/opencolorio-1.1.1.ebuild b/media-libs/opencolorio/opencolorio-1.1.1.ebuild index 8286b611ee7b..f5179fea4002 100644 --- a/media-libs/opencolorio/opencolorio-1.1.1.ebuild +++ b/media-libs/opencolorio/opencolorio-1.1.1.ebuild @@ -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() { |