[-- Attachment #1: Type: text/plain, Size: 1602 bytes --]
There is a new pull request by ailiop-git against master on the void-packages repository
https://github.com/ailiop-git/void-packages ghostscript
https://github.com/void-linux/void-packages/pull/30378
ghostscript: update to 9.54.0.
<!-- Mark items with [x] where applicable -->
#### General
- [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)
#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR
<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!--
#### Does it build and run successfully?
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
- [ ] aarch64-musl
- [ ] armv7l
- [ ] armv6l-musl
-->
A patch file from https://github.com/void-linux/void-packages/pull/30378.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ghostscript-30378.patch --]
[-- Type: text/x-diff, Size: 3006 bytes --]
From 2e4bfa4db33c183b485e2d7c2040d85f9b9a60b5 Mon Sep 17 00:00:00 2001
From: Anthony Iliopoulos <ailiop@altatus.com>
Date: Tue, 20 Apr 2021 13:50:15 +0200
Subject: [PATCH] ghostscript: update to 9.54.0.
---
.../ghostscript-9.53.3-freetype_fix-1.patch | 39 -------------------
srcpkgs/ghostscript/template | 6 +--
2 files changed, 3 insertions(+), 42 deletions(-)
delete mode 100644 srcpkgs/ghostscript/patches/ghostscript-9.53.3-freetype_fix-1.patch
diff --git a/srcpkgs/ghostscript/patches/ghostscript-9.53.3-freetype_fix-1.patch b/srcpkgs/ghostscript/patches/ghostscript-9.53.3-freetype_fix-1.patch
deleted file mode 100644
index 66b5f6556f46..000000000000
--- a/srcpkgs/ghostscript/patches/ghostscript-9.53.3-freetype_fix-1.patch
+++ /dev/null
@@ -1,39 +0,0 @@
-Submitted By: Ken Moffat <ken at linuxfromscratch dot org>
-Date: 2020-10-20
-Initial Package Version: 9.53.3
-Upstream Status: Applied
-Origin: https://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=41ef9a0bc36b#patch1
-Description: Fixes build failure with freetype-2.10.3 and later.
-
-diff --git a/base/fapi_ft.c b/base/fapi_ft.c
-index 65fa6dc..21aef2f 100644 (file)
---- a/base/fapi_ft.c
-+++ b/base/fapi_ft.c
-@@ -125,7 +125,7 @@ static void
- delete_inc_int_info(gs_fapi_server * a_server,
- FT_IncrementalRec * a_inc_int_info);
-
--FT_CALLBACK_DEF(void *)
-+static void *
- FF_alloc(FT_Memory memory, long size)
- {
- gs_memory_t *mem = (gs_memory_t *) memory->user;
-@@ -133,7 +133,7 @@ FF_alloc(FT_Memory memory, long size)
- return (gs_malloc(mem, size, 1, "FF_alloc"));
- }
-
--FT_CALLBACK_DEF(void *)
-+static void *
- FF_realloc(FT_Memory memory, long cur_size, long new_size, void *block)
- {
- gs_memory_t *mem = (gs_memory_t *) memory->user;
-@@ -153,7 +153,7 @@ FT_CALLBACK_DEF(void *)
- return (tmp);
- }
-
--FT_CALLBACK_DEF(void)
-+static void
- FF_free(FT_Memory memory, void *block)
- {
- gs_memory_t *mem = (gs_memory_t *) memory->user;
-
diff --git a/srcpkgs/ghostscript/template b/srcpkgs/ghostscript/template
index 22927d660273..1d7aed4dc834 100644
--- a/srcpkgs/ghostscript/template
+++ b/srcpkgs/ghostscript/template
@@ -1,7 +1,7 @@
# Template file for 'ghostscript'
pkgname=ghostscript
-version=9.53.3
-revision=2
+version=9.54.0
+revision=1
hostmakedepends="automake libtool pkg-config"
makedepends="$(vopt_if cups cups-devel) dbus-devel fontconfig-devel jasper-devel jbig2dec-devel
lcms2-devel libXext-devel libXt-devel libopenjpeg2-devel libpaper-devel"
@@ -11,7 +11,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
license="AGPL-3.0-or-later, CPL-1.0"
homepage="https://www.ghostscript.com/"
distfiles="https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${version//./}/ghostscript-${version}.tar.xz"
-checksum=9c9f5bc85b6c7eb08368c05b1e3339f7aaf9677ddca710c6283f872d55e2a234
+checksum=c2b7b43cde600f4e70efb2cd95865f6d884a67315c3de235914697d8ccde6e3b
patch_args="-Np1"
build_options="cups"