Add patch to deal with multiple instantation issue.
This commit is contained in:
parent
01ded9b06a
commit
c7c7799882
|
@ -19,6 +19,9 @@ Patch0: ocio-install.patch
|
|||
# https://github.com/AcademySoftwareFoundation/OpenColorIO/pull/1432
|
||||
Patch1: 1432.patch
|
||||
|
||||
# Violates c++11 (definition shall appear at most one in a program)
|
||||
Patch2: ocio-cpp11.patch
|
||||
|
||||
# OIIO is only built for these arches due to Libraw
|
||||
%if 0%{?rhel} >= 8
|
||||
ExclusiveArch: x86_64 ppc64le
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
Index: OpenColorIO-2.0.1/src/OpenColorIO/Config.cpp
|
||||
===================================================================
|
||||
--- OpenColorIO-2.0.1.orig/src/OpenColorIO/Config.cpp
|
||||
+++ OpenColorIO-2.0.1/src/OpenColorIO/Config.cpp
|
||||
@@ -1141,7 +1141,7 @@ public:
|
||||
|
||||
|
||||
// Instantiate the cache with the right types.
|
||||
-template class ProcessorCache<std::size_t, ProcessorRcPtr>;
|
||||
+extern template class ProcessorCache<std::size_t, ProcessorRcPtr>;
|
||||
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
Loading…
Reference in New Issue