Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2024 13:43:54 +0100
From:      Michael Osipov <michaelo@FreeBSD.org>
To:        Vladimir Druzenko <vvd@freebsd.org>
Cc:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   Re: git: 77995e0fa8b5 - main - print/ghostscript10: update port to 10.03.0
Message-ID:  <d56f5dad-e683-4c04-a507-7e0ad56ec0e6@FreeBSD.org>
In-Reply-To: <708c5414-9f0f-4949-82f7-6a478e256ca4@freebsd.org>
References:  <202403131034.42DAYHFo092927@gitrepo.freebsd.org> <708c5414-9f0f-4949-82f7-6a478e256ca4@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2024-03-13 13:41, Vladimir Druzenko wrote:
> 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;
> 

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277667

Already in the works...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d56f5dad-e683-4c04-a507-7e0ad56ec0e6>