summaryrefslogtreecommitdiff
path: root/mupdf/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'mupdf/Pkgfile')
-rw-r--r--mupdf/Pkgfile10
1 files changed, 8 insertions, 2 deletions
diff --git a/mupdf/Pkgfile b/mupdf/Pkgfile
index 70e2d30fe..1db8346ef 100644
--- a/mupdf/Pkgfile
+++ b/mupdf/Pkgfile
@@ -5,12 +5,18 @@
name=mupdf
version=1.11
-release=1
-source=(http://mupdf.com/downloads/$name-$version-source.tar.gz)
+release=2
+source=(http://mupdf.com/downloads/$name-$version-source.tar.gz
+ CVE-2017-{14685,14686,14687,15587}.patch)
build() {
cd $name-$version-source
+ patch -p1 -i $SRC/CVE-2017-14685.patch
+ patch -p1 -i $SRC/CVE-2017-14686.patch
+ patch -p1 -i $SRC/CVE-2017-14687.patch
+ patch -p1 -i $SRC/CVE-2017-15587.patch
+
rm -r thirdparty/{freetype,libjpeg,zlib,curl,harfbuzz}
make XCFLAGS="-fpic" build=release

Generated by cgit