- added missing parts of the fix for CVE-2017-6887

and CVE-2017-6886
    + libraw-CVE-2017-6887,6886.patch
- added missing fix for CVE-2017-6890 and CVE-2017-6899
  + libraw-CVE-2017-6890,6899.patch

OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=92
This commit is contained in:
2017-05-23 07:48:34 +00:00
committed by Git OBS Bridge
parent 6ca3ea7ce2
commit 42297d1b65
4 changed files with 73 additions and 0 deletions

View File

@@ -30,6 +30,8 @@ Url: http://www.libraw.org/
#Git-Clone: git://github.com/LibRaw/LibRaw
Source: http://www.libraw.org/data/%tar_name-%version.tar.gz
Patch0: libraw-CVE-2017-6890,6899.patch
Patch1: libraw-CVE-2017-6887,6886.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: libjasper-devel
@@ -98,6 +100,8 @@ against LibRaw. LibRaw does not provide dynamic libraries.
%prep
%setup -qn %tar_name-%version
%patch0 -p1
%patch1 -p1
%build
export CXXFLAGS="%optflags -fPIC -DUSE_ZLIB"