automatic version update by autodist [release 10.03.1-1mamba;Sun May 19 2024]

This commit is contained in:
Automatic Build System 2024-05-20 09:56:15 +02:00
parent b7339b80c3
commit 98d495f628
4 changed files with 35 additions and 28488 deletions

View File

@ -0,0 +1,29 @@
From 90cabe08422afdd16bac5dd9217602679d943045 Mon Sep 17 00:00:00 2001
From: Ken Sharp <Ken.Sharp@artifex.com>
Date: Fri, 8 Mar 2024 09:19:05 +0000
Subject: Bug #707649 - fix apply_sasl in error cases.
Forgot to dereference the pointers before assigning the values, if we
get non-fatal errors returned from stringprep.
---
pdf/pdf_sec.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pdf/pdf_sec.c b/pdf/pdf_sec.c
index 565ae80ca..7e8f6719d 100644
--- a/pdf/pdf_sec.c
+++ b/pdf/pdf_sec.c
@@ -183,8 +183,8 @@ static int apply_sasl(pdf_context *ctx, char *Password, int Len, char **NewPassw
* this easy: the errors we want to ignore are the ones with
* codes less than 100. */
if ((int)err < 100) {
- NewPassword = Password;
- NewLen = Len;
+ *NewPassword = Password;
+ *NewLen = Len;
return 0;
}
--
cgit v1.2.3

File diff suppressed because it is too large Load Diff

View File

@ -1,50 +0,0 @@
From 41ef9a0bc36b9db7115fbe9623f989bfb47bbade Mon Sep 17 00:00:00 2001
From: Chris Liddell <chris.liddell@artifex.com>
Date: Tue, 20 Oct 2020 09:49:45 +0100
Subject: [PATCH] Bug 702985: drop use of FT_CALLBACK_DEF() def
From 2.10.3, Freetype disappeared the FT_CALLBACK_DEF() macro, which is what
we used when defining our callbacks from Freetype.
No guidance forthcoming from the Freetype developer who made those changes,
so change to explicitly declaring the callbacks file static.
Should fix the reported build failures.
---
base/fapi_ft.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/base/fapi_ft.c b/base/fapi_ft.c
index 65fa6dcf4..21aef2f06 100644
--- 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;
--
2.17.1

View File

@ -2,7 +2,7 @@
%define dirver %(echo %version | tr -d .)
Name: ghostscript
Version: 10.03.0
Version: 10.03.1
Release: 1mamba
Summary: The GPL release of the Ghostscript interpreter
Group: Applications/Publishing
@ -11,11 +11,8 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.ghostscript.com/
Source: https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs%{dirver}/ghostscript-%{version}.tar.gz
#Source: http://downloads.ghostscript.com/public/ghostscript-%{version}.tar.gz
#Source: http://downloads.sourceforge.net/sourceforge/ghostscript/ghostscript-%{version}.tar.bz2
Patch0: ghostscript-9.07-european-locales-comma-separator.patch
Patch1: ghostscript-9.27-system-zlib.patch
Patch2: ghostscript-9.53.3-libfreetype-2.10.4.patch
Patch3: ghostscript-10.03.1-gcc-14.1.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -125,9 +122,8 @@ X11 support library for Ghostscript.
%setup -q
#-D -T
#:<< _EOF
#%patch0 -p1
%patch 1 -p1
#%patch2 -p1
%patch 3 -p1 -b .gcc-14.1
# To force using system libs
rm -rfv cups/libs freetype jbig2dec jpeg lcms2 libpng tiff zlib
@ -286,6 +282,9 @@ rm -f %{buildroot}%{_datadir}/ghostscript/%{version}/doc
#%{_libdir}/ghostscript/*/X11.so
%changelog
* Sun May 19 2024 Automatic Build System <autodist@openmamba.org> 10.03.1-1mamba
- automatic version update by autodist
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 10.03.0-1mamba
- automatic version update by autodist