summaryrefslogtreecommitdiff
path: root/ghostscript/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'ghostscript/Pkgfile')
-rw-r--r--ghostscript/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/ghostscript/Pkgfile b/ghostscript/Pkgfile
index 63487bbc2..18685d203 100644
--- a/ghostscript/Pkgfile
+++ b/ghostscript/Pkgfile
@@ -5,13 +5,18 @@
name=ghostscript
version=9.21
-release=1
+release=2
source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version/./}/$name-$version.tar.xz
- http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz)
+ http://downloads.sourceforge.net/sourceforge/gs-fonts/$name-fonts-std-8.11.tar.gz
+ CVE-2017-5951.patch CVE-2017-7207.patch CVE-2017-8291.patch)
build () {
cd $name-$version
+ patch -p1 -i $SRC/CVE-2017-5951.patch
+ patch -p1 -i $SRC/CVE-2017-7207.patch
+ patch -p1 -i $SRC/CVE-2017-8291.patch
+
./configure --prefix=/usr \
--enable-cups \
--disable-gtk \

Generated by cgit