git: 5e3da22d048f - main - print/ghostscript10: fix compilation issue with LLVM > 14

From: Michael Osipov <michaelo_at_FreeBSD.org>
Date: Wed, 13 Mar 2024 20:32:17 UTC
The branch main has been updated by michaelo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5e3da22d048fd24991444fc7039f9a851e7652b0

commit 5e3da22d048fd24991444fc7039f9a851e7652b0
Author:     Michael Osipov <michael.osipov@siemens.com>
AuthorDate: 2024-03-13 12:59:33 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2024-03-13 20:31:50 +0000

    print/ghostscript10: fix compilation issue with LLVM > 14
    
    This issue reported upstream with
    https://bugs.ghostscript.com/show_bug.cgi?id=707649 has been fixed and
    one-off patch backported to this port.
    
    PR:             277667
    Approved by:    jrm (mentor)
    Differential Revision:  https://reviews.freebsd.org/D44339
---
 print/ghostscript10/Makefile | 4 ++++
 print/ghostscript10/distinfo | 4 +++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile
index b8db2307da56..332374b380a8 100644
--- a/print/ghostscript10/Makefile
+++ b/print/ghostscript10/Makefile
@@ -1,9 +1,13 @@
 PORTNAME=	ghostscript
 DISTVERSION=	10.03.0
+PORTREVISION=	1
 CATEGORIES=	print
 MASTER_SITES=	https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/
 PKGNAMESUFFIX=	${GS_MAJOR_VERSION}
 
+PATCH_SITES=	https://github.com/ArtifexSoftware/ghostpdl/commit/
+PATCHFILES=	90cabe08422afdd16bac5dd9217602679d943045.patch:-p1
+
 MAINTAINER=	michael.osipov@siemens.com
 COMMENT=	PostScript and PDF interpreter
 WWW=	https://ghostscript.com/
diff --git a/print/ghostscript10/distinfo b/print/ghostscript10/distinfo
index cc19a0561047..ce84947b3a54 100644
--- a/print/ghostscript10/distinfo
+++ b/print/ghostscript10/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1710150301
+TIMESTAMP = 1710343064
 SHA256 (ghostscript-10.03.0.tar.xz) = f25ff491a726d883f0b0f9c8af9b895c674cf77cddd814aa3824b3223f439ee5
 SIZE (ghostscript-10.03.0.tar.xz) = 68041176
+SHA256 (90cabe08422afdd16bac5dd9217602679d943045.patch) = b3d60b8e97ed4464fdda14a53ab9bf135e201a0c995e7e6517001bad2d7b2c91
+SIZE (90cabe08422afdd16bac5dd9217602679d943045.patch) = 927