diff --git a/433edd0eea934e25f6e97aaf912ebed191fa41d1.patch b/433edd0eea934e25f6e97aaf912ebed191fa41d1.patch new file mode 100644 index 0000000000000000000000000000000000000000..7c321a30315a4ab9413495f343b9159197394eb5 --- /dev/null +++ b/433edd0eea934e25f6e97aaf912ebed191fa41d1.patch @@ -0,0 +1,13 @@ +diff --git a/thirdparty/libz/gzguts.h b/thirdparty/libz/gzguts.h +index d87659d03..fb9198550 100644 +--- a/thirdparty/libz/gzguts.h ++++ b/thirdparty/libz/gzguts.h +@@ -3,6 +3,8 @@ + * For conditions of distribution and use, see copyright notice in zlib.h + */ + ++#include ++ + #ifdef _LARGEFILE64_SOURCE + # ifndef _LARGEFILE_SOURCE + # define _LARGEFILE_SOURCE 1 diff --git a/openjpeg2.spec b/openjpeg2.spec index e4f0659b73c65905a1966d52fcfe88112813f68a..cc44d99b2c5e5edb1246ac0dc444b8900d2a298d 100644 --- a/openjpeg2.spec +++ b/openjpeg2.spec @@ -1,6 +1,6 @@ Name: openjpeg2 Version: 2.3.1 -Release: 3 +Release: 4 Summary: C-Library for JPEG 2000 License: BSD and MIT URL: https://github.com/uclouvain/openjpeg @@ -12,6 +12,7 @@ Patch1: openjpeg2_opj2.patch Patch6000: CVE-2016-10505.patch Patch6001: CVE-2016-7445.patch Patch6002: CVE-2020-15389.patch +Patch6003: 433edd0eea934e25f6e97aaf912ebed191fa41d1.patch BuildRequires: cmake gcc-c++ make zlib-devel libpng-devel libtiff-devel lcms2-devel doxygen @@ -87,6 +88,9 @@ mv %{buildroot}%{_mandir}/man1/opj_dump.1 %{buildroot}%{_mandir}/man1/opj2_dump. %{_mandir}/man3/*.3* %changelog +* 20201231185849762215 patch-tracking 2.3.1-4 +- append patch file of upstream repository from <433edd0eea934e25f6e97aaf912ebed191fa41d1> to <433edd0eea934e25f6e97aaf912ebed191fa41d1> + * Sat Jul 25 2020 zhangnaru -2.3.1-3 - fix CVE-2020-15389 @@ -94,4 +98,4 @@ mv %{buildroot}%{_mandir}/man1/opj_dump.1 %{buildroot}%{_mandir}/man1/opj2_dump. - fix CVE-2016-10505 and CVE-2016-7445 * Thu Sep 19 2019 openEuler Buildteam - 2.3.1-1 -- Package init +- Package init \ No newline at end of file