Re: git: 77995e0fa8b5 - main - print/ghostscript10: update port to 10.03.0
Date: Wed, 13 Mar 2024 12:41:58 UTC
13.03.2024 13:34, Michael Osipov пишет: > The branch main has been updated by michaelo: > > URL: https://cgit.FreeBSD.org/ports/commit/?id=77995e0fa8b5093983b3c4fcdd01a7db55454e12 > > commit 77995e0fa8b5093983b3c4fcdd01a7db55454e12 > Author: Michael Osipov <michael.osipov@siemens.com> > AuthorDate: 2024-03-11 11:17:19 +0000 > Commit: Michael Osipov <michaelo@FreeBSD.org> > CommitDate: 2024-03-13 10:33:57 +0000 > > print/ghostscript10: update port to 10.03.0 > > Also remove CONFLICTS_INSTALL since all other Ghostscript versions are > gone now. > > Changelog: https://ghostscript.readthedocs.io/en/gs10.03.0/News.html > > Approved by: otis (mentor) > Differential Revision: https://reviews.freebsd.org/D44298 > --- > print/ghostscript10/Makefile | 8 +------- > print/ghostscript10/distinfo | 6 +++--- > 2 files changed, 4 insertions(+), 10 deletions(-) > > diff --git a/print/ghostscript10/Makefile b/print/ghostscript10/Makefile > index cbb9810ee970..b8db2307da56 100644 > --- a/print/ghostscript10/Makefile > +++ b/print/ghostscript10/Makefile > @@ -1,6 +1,5 @@ > PORTNAME= ghostscript > -DISTVERSION= 10.02.1 > -PORTREVISION= 3 > +DISTVERSION= 10.03.0 > CATEGORIES= print > MASTER_SITES= https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${DISTVERSION:S/.//g}/ > PKGNAMESUFFIX= ${GS_MAJOR_VERSION} > @@ -28,11 +27,6 @@ USES= cpe gmake iconv jpeg localbase pkgconfig tar:xz > USE_LDCONFIG= yes > CPE_VENDOR= artifex > > -CONFLICTS_INSTALL= ghostscript[789]-base \ > - ghostscript[789]-x11 \ > - ghostscript9-agpl-base \ > - ghostscript9-agpl-x11 > - > EXTRACT_AFTER_ARGS= --exclude cups/libs \ > --exclude expat \ > --exclude freetype \ > diff --git a/print/ghostscript10/distinfo b/print/ghostscript10/distinfo > index 67203cc82cdb..cc19a0561047 100644 > --- a/print/ghostscript10/distinfo > +++ b/print/ghostscript10/distinfo > @@ -1,3 +1,3 @@ > -TIMESTAMP = 1699259388 > -SHA256 (ghostscript-10.02.1.tar.xz) = 8c58c948b0721becefcd0029c8db95f9bb3268affc25ea01d4c5a6b07fa1ab08 > -SIZE (ghostscript-10.02.1.tar.xz) = 68017088 > +TIMESTAMP = 1710150301 > +SHA256 (ghostscript-10.03.0.tar.xz) = f25ff491a726d883f0b0f9c8af9b895c674cf77cddd814aa3824b3223f439ee5 > +SIZE (ghostscript-10.03.0.tar.xz) = 68041176 Hi! Build failed on 13.3 amd64: ./pdf/pdf_sec.c:186:25: warning: incompatible pointer types assigning to 'char **' from 'char *'; take the address with & [-Wincompatible-pointer-types] 186 | NewPassword = Password; | ^ ~~~~~~~~ | & ./pdf/pdf_sec.c:187:20: error: incompatible integer to pointer conversion assigning to 'int *' from 'int'; take the address with & [-Wint-conversion] 187 | NewLen = Len; | ^ ~~~ Look like upstream bug: static int apply_sasl(pdf_context *ctx, char *Password, int Len, char **NewPassword, int *NewLen) Patch: - NewPassword = Password; - NewLen = Len; + *NewPassword = Password; + *NewLen = Len; -- Best regards, Vladimir Druzenko