Accepting request 222307 from home:gberh:branches:Publishing

- add mupdf-fix-array-overflow.patch in order to fix a stack-based
  buffer overflow in xps_parse_color() (bnc#863975)

OBS-URL: https://build.opensuse.org/request/show/222307
OBS-URL: https://build.opensuse.org/package/show/Publishing/mupdf?expand=0&rev=14
This commit is contained in:
OBS User mrdocs
2014-02-18 03:11:32 +00:00
committed by Git OBS Bridge
parent e2d8897e64
commit 93934f6a3a
3 changed files with 135 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ Source1: mupdf.desktop
Source2: mupdf.png
# PATCH-FIX-OPENSUSE mupdf-fix-openjpeg2.patch gber@opensuse.org -- Fix cflags, libs of openjpeg2 on openSUSE
Patch0: mupdf-fix-openjpeg2.patch
# PATCH-FIX-UPSTREAM mupdf-fix-array-overflow.patch http://bugs.ghostscript.com/show_bug.cgi?id=694957 bnc#863975 gber@opensuse.org -- Fix stack-based buffer overflow in xps_parse_color()
Patch1: mupdf-fix-array-overflow.patch
BuildRequires: freetype-devel
BuildRequires: gcc-c++
BuildRequires: jbig2dec-devel
@@ -73,6 +75,7 @@ based on mupdf.
rm -rf thirdparty
%patch0 -p1
%patch1 -p1
mkdir docs/examples
for src in docs/*.c; do