ghostscript: Update to 9.26

This commit is contained in:
Alexey Pavlov
2018-11-21 09:35:24 +03:00
parent b3112b5870
commit f22bd8ade0
2 changed files with 4 additions and 18 deletions

View File

@@ -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);

View File

@@ -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