summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-11-18 19:20:55 +0000
committerSam James <sam@gentoo.org>2020-11-18 19:21:00 +0000
commit175603a404585a7e5c045c4bab7982b617bec5cd (patch)
tree56f4b6113815d5788d267e4d27a290e69de1cf9f /media-libs/opencolorio/files
parentprofiles/base/package.use.force: force gcc-config[cc-wrappers] (diff)
downloadgentoo-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/files')
-rw-r--r--media-libs/opencolorio/files/opencolorio-1.1.1-fix-self-assign-clang.patch14
1 files changed, 14 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;
+ }