Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package OpenColorIO for openSUSE:Factory checked in at 2022-05-13 23:03:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/OpenColorIO (Old) and /work/SRC/openSUSE:Factory/.OpenColorIO.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "OpenColorIO" Fri May 13 23:03:07 2022 rev:15 rq:976936 version:2.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/OpenColorIO/OpenColorIO.changes 2022-03-19 22:22:53.668949737 +0100 +++ /work/SRC/openSUSE:Factory/.OpenColorIO.new.1538/OpenColorIO.changes 2022-05-13 23:03:09.751122605 +0200 @@ -1,0 +2,5 @@ +Thu May 12 19:47:52 UTC 2022 - Asterios Dramis <[email protected]> + +- Added a patch "gcc12_fix.patch" to fix compilation with GCC12. + +------------------------------------------------------------------- New: ---- gcc12_fix.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ OpenColorIO.spec ++++++ --- /var/tmp/diff_new_pack.6X2plM/_old 2022-05-13 23:03:10.399123201 +0200 +++ /var/tmp/diff_new_pack.6X2plM/_new 2022-05-13 23:03:10.403123205 +0200 @@ -39,6 +39,8 @@ Group: Productivity/Graphics/Other URL: https://opencolorio.org/ Source0: https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v%{version}.tar.gz +# PATCH-FIX-UPSTREAM gcc12_fix.patch [email protected] -- Fix compilation with GCC12 +Patch0: gcc12_fix.patch BuildRequires: cmake >= 3.12 BuildRequires: doxygen BuildRequires: gcc-c++ @@ -114,6 +116,7 @@ %prep %setup -q -n %{pkg_name}-%{version} +%patch0 -p1 # Fix library install location sed -i 's|DESTINATION lib|DESTINATION %{_lib}|' src/OpenColorIO/CMakeLists.txt @@ -140,7 +143,7 @@ mkdir -p %{buildroot}%{_docdir}/%{pkg_name} cp *.md %{buildroot}%{_docdir}/%{pkg_name} -# this shouldn't be needed +# This shouldn't be needed rm %{buildroot}%{_datadir}/ocio/setup_ocio.sh %if %{without ocio_tools} @@ -164,7 +167,6 @@ %files -n %{pkg_name}-doc %{_docdir}/%{pkg_name}/html/ - %else %files devel ++++++ gcc12_fix.patch ++++++ --- src/OpenColorIO/FileRules.cpp | 1 + 1 file changed, 1 insertion(+) 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>
