diff --git a/gcc-10.patch b/gcc-10.patch new file mode 100644 index 0000000000000000000000000000000000000000..25c30d39620b65bcd912a333c70f419da73fccc3 --- /dev/null +++ b/gcc-10.patch @@ -0,0 +1,7 @@ +--- src/zimg/colorspace/matrix3.cpp_old 2021-08-02 16:27:28.737949184 +0800 ++++ src/zimg/colorspace/matrix3.cpp 2021-08-02 16:27:48.394167745 +0800 +@@ -1,3 +1,4 @@ ++#include + #include "matrix3.h" + + namespace zimg { diff --git a/zimg.spec b/zimg.spec index 2b11c6531f934d22b09cb980e8c17027670389a0..925679ea8186333d1f2603288a8f1e70534f4d6d 100644 --- a/zimg.spec +++ b/zimg.spec @@ -1,11 +1,12 @@ Name: zimg Version: 2.9.3 -Release: 1 +Release: 2 Summary: Scaling, color space conversion, and dithering library License: WTFPL URL: https://github.com/sekrit-twc/zimg Source0: %{url}/archive/release-%{version}/%{name}-%{version}.tar.gz +Patch0: gcc-10.patch BuildRequires: autoconf automake gcc-c++ libtool @@ -27,7 +28,7 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep -%autosetup -n zimg-release-%{version} +%autosetup -n zimg-release-%{version} -p0 %build autoreconf -vif @@ -60,5 +61,8 @@ rm -fr %{buildroot}%{_docdir}/%{name} %{_libdir}/pkgconfig/%{name}.pc %changelog +* Mon Aug 02 2021 linjiaxin5 - 2.9.3-2 +- Fix failure caused by GCC upgrade to 10 + * Fri May 07 2021 weidong - 2.9.3-1 - Initial package.