@@ -1,4 +1,4 @@
-From c595086bfe206776676e290df98cd09e91210e27 Mon Sep 17 00:00:00 2001
+From 2c33689b2176c06c1991b40dcc336b6069b29d1a Mon Sep 17 00:00:00 2001
From: Alex Cherepanov <alex@coscript.biz>
Date: Thu, 3 Apr 2025 17:19:41 +0100
Subject: [PATCH] Bug 708160: Fix compatibility with C23 compilers
@@ -22,9 +22,29 @@ Upstream-Status: Backport [Partial backport of https://cgit.ghostscript.com/cgi-
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
+ base/gp.h | 4 ++--
base/stdpre.h | 6 ++++--
- 1 file changed, 4 insertions(+), 2 deletions(-)
+ 2 files changed, 6 insertions(+), 4 deletions(-)
+diff --git a/base/gp.h b/base/gp.h
+index ad5bb61..cf2c9cf 100644
+--- a/base/gp.h
++++ b/base/gp.h
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 2001-2023 Artifex Software, Inc.
++/* Copyright (C) 2001-2025 Artifex Software, Inc.
+ All Rights Reserved.
+
+ This software is provided AS-IS with no warranty, either express or
+@@ -646,7 +646,7 @@ int gp_fseek_impl(FILE *strm, gs_offset_t offset, int origin);
+ /* Create a second open gp_file on the basis of a given one */
+ FILE *gp_fdup_impl(FILE *f, const char *mode);
+
+-int gp_fseekable_impl(FILE *f);
++bool gp_fseekable_impl(FILE *f);
+
+ /* Force given file into binary mode (no eol translations, etc) */
+ /* if 2nd param true, text mode if 2nd param false */
diff --git a/base/stdpre.h b/base/stdpre.h
index dda30b6..2f9c84e 100644
--- a/base/stdpre.h
@@ -46,22 +66,3 @@ index dda30b6..2f9c84e 100644
#ifdef __BEOS__
typedef unsigned char bool;
#else
-diff --git a/base/gp.h b/base/gp.h
-index ad5bb61..cf2c9cf 100644
---- a/base/gp.h
-+++ b/base/gp.h
-@@ -1,4 +1,4 @@
--/* Copyright (C) 2001-2023 Artifex Software, Inc.
-+/* Copyright (C) 2001-2025 Artifex Software, Inc.
- All Rights Reserved.
-
- This software is provided AS-IS with no warranty, either express or
-@@ -646,7 +646,7 @@ int gp_fseek_impl(FILE *strm, gs_offset_t offset, int origin);
- /* Create a second open gp_file on the basis of a given one */
- FILE *gp_fdup_impl(FILE *f, const char *mode);
-
--int gp_fseekable_impl(FILE *f);
-+bool gp_fseekable_impl(FILE *f);
-
- /* Force given file into binary mode (no eol translations, etc) */
- /* if 2nd param true, text mode if 2nd param false */
@@ -1,4 +1,4 @@
-From 85905ce3b1bc63f0be9eda9888e40d8e7a803d21 Mon Sep 17 00:00:00 2001
+From a655d78c2cec62e768e102fdd037e03970b32ad1 Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Thu, 29 Mar 2018 16:02:05 +0800
Subject: [PATCH] avoid host contamination
@@ -1,4 +1,4 @@
-From c23b787f9a38be2cdc57133915c402b69acedd1a Mon Sep 17 00:00:00 2001
+From f07ee308f8368278b8127d58ef600cb126fe1c59 Mon Sep 17 00:00:00 2001
From: Robert Yang <liezhi.yang@windriver.com>
Date: Mon, 4 May 2015 22:31:48 -0700
Subject: [PATCH] base/gendev.c: fix for -Werror=return-type
similarity index 97%
rename from meta/recipes-extended/ghostscript/ghostscript_10.05.0.bb
rename to meta/recipes-extended/ghostscript/ghostscript_10.05.1.bb
@@ -28,7 +28,7 @@ SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/downlo
file://0001-Bug-708160-Fix-compatibility-with-C23-compilers.patch \
"
-SRC_URI[sha256sum] = "56e77833de683825c420d0af8cb90aa8ba7da71ea6fb5624290cbc1b53fe7942"
+SRC_URI[sha256sum] = "121861b6d29b2461dec6575c9f3cab665b810bd408d4ec02c86719fa708b0a49"
PACKAGECONFIG ??= ""
PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
Hello, this email is a notification from the Auto Upgrade Helper that the automatic attempt to upgrade the recipe(s) *ghostscript* to *10.05.1* has Succeeded. Next steps: - apply the patch: git am 0001-ghostscript-upgrade-10.05.0-10.05.1.patch - check the changes to upstream patches and summarize them in the commit message, - compile an image that contains the package - perform some basic sanity tests - amend the patch and sign it off: git commit -s --reset-author --amend - send it to the appropriate mailing list Alternatively, if you believe the recipe should not be upgraded at this time, you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that automatic upgrades would no longer be attempted. Please review the attached files for further information and build/update failures. Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler Regards, The Upgrade Helper -- >8 -- From 90c8c753a527cedf070188cae7181f88ccb8eff8 Mon Sep 17 00:00:00 2001 From: Upgrade Helper <auh@yoctoproject.org> Date: Thu, 1 May 2025 10:40:36 +0000 Subject: [PATCH] ghostscript: upgrade 10.05.0 -> 10.05.1 --- ...Fix-compatibility-with-C23-compilers.patch | 43 ++++++++++--------- .../avoid-host-contamination.patch | 2 +- .../ghostscript-9.16-Werror-return-type.patch | 2 +- ...ript_10.05.0.bb => ghostscript_10.05.1.bb} | 2 +- 4 files changed, 25 insertions(+), 24 deletions(-) rename meta/recipes-extended/ghostscript/{ghostscript_10.05.0.bb => ghostscript_10.05.1.bb} (97%)