Add patch to fix gcc 12 related FTBFS.
This commit is contained in:
parent
bbe1193d6d
commit
80c57925b2
12
OCIO-strlen.patch
Normal file
12
OCIO-strlen.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: OpenColorIO-2.1.1/src/OpenColorIO/FileRules.cpp
|
||||
===================================================================
|
||||
--- OpenColorIO-2.1.1.orig/src/OpenColorIO/FileRules.cpp
|
||||
+++ OpenColorIO-2.1.1/src/OpenColorIO/FileRules.cpp
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
+#include <cstring>
|
||||
#include <map>
|
||||
#include <regex>
|
||||
#include <sstream>
|
@ -12,6 +12,8 @@ License: BSD
|
||||
URL: http://opencolorio.org/
|
||||
Source0: https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v%{version}/%{name}-%{version}.tar.gz
|
||||
|
||||
Patch0: OCIO-strlen.patch
|
||||
|
||||
# OIIO is only built for these arches due to Libraw
|
||||
%if 0%{?rhel} >= 8
|
||||
ExclusiveArch: x86_64 ppc64le
|
||||
|
Loading…
Reference in New Issue
Block a user