From f22bd8ade0bc71eda264dc4825fef840efac875b Mon Sep 17 00:00:00 2001 From: Alexey Pavlov Date: Wed, 21 Nov 2018 09:35:24 +0300 Subject: [PATCH] ghostscript: Update to 9.26 --- mingw-w64-ghostscript/004-fix-stat-conflict.patch | 11 ----------- mingw-w64-ghostscript/PKGBUILD | 11 ++++------- 2 files changed, 4 insertions(+), 18 deletions(-) delete mode 100644 mingw-w64-ghostscript/004-fix-stat-conflict.patch diff --git a/mingw-w64-ghostscript/004-fix-stat-conflict.patch b/mingw-w64-ghostscript/004-fix-stat-conflict.patch deleted file mode 100644 index 70129d6378..0000000000 --- a/mingw-w64-ghostscript/004-fix-stat-conflict.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/base/gp_mswin.c -+++ b/base/gp_mswin.c -@@ -791,7 +791,7 @@ - #endif - } - --int gp_stat(const char *path, struct _stat *buf) -+int gp_stat(const char *path, struct stat *buf) - { - #ifdef GS_NO_UTF8 - return stat(path, buf); diff --git a/mingw-w64-ghostscript/PKGBUILD b/mingw-w64-ghostscript/PKGBUILD index 64992bac81..7bf99af5aa 100644 --- a/mingw-w64-ghostscript/PKGBUILD +++ b/mingw-w64-ghostscript/PKGBUILD @@ -3,7 +3,7 @@ _realname=ghostscript pkgbase=mingw-w64-${_realname} pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=9.25 +pkgver=9.26 pkgrel=1 arch=('any') license=('AGPL' 'custom') @@ -27,14 +27,12 @@ url="https://www.ghostscript.com/" source=(https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${pkgver//./}/ghostscript-${pkgver}.tar.xz 001-mingw-build.patch 002-ghostscript-sys-zlib.patch - 003-libspectre.patch - 004-fix-stat-conflict.patch) + 003-libspectre.patch) options=('staticlibs' 'strip') -sha256sums=('a2971a23bf15bbd9ddcd173141b15504e51ddc1d5a0a0144b00a6a8b14a62fed' +sha256sums=('90ed475f37584f646e9ef829932b2525d5c6fc2e0147e8d611bc50aa0e718598' '8855fd391358c97c83a7166803fd95f87fa4df790c6125965bd7c37920cb9579' '9cf9805e6b8329e83656c16475c9fc7b7b8c3e459a782b4755abdabbb8f22df4' - '5b0ef04d59658885f183a6c820a5dbbb89e57e4c43774bc6c90ae4fb742b2be7' - '0a9daec8761dc3a8096cc8b99618a9486c49f42e41d024d94693f0cdbe8e5c3b') + '5b0ef04d59658885f183a6c820a5dbbb89e57e4c43774bc6c90ae4fb742b2be7') noextract=(ghostscript-${pkgver}.tar.xz) prepare() { @@ -45,7 +43,6 @@ prepare() { patch -p1 -i ${srcdir}/001-mingw-build.patch patch -p1 -i ${srcdir}/002-ghostscript-sys-zlib.patch patch -p1 -i ${srcdir}/003-libspectre.patch - patch -p1 -i ${srcdir}/004-fix-stat-conflict.patch sed -e "s|/usr|${MINGW_PREFIX}/${MINGW_CHOST}|g" -i base/all-arch.mak base/unix-aux.mak