From 736021fe986cdc5eba21aae348c8c03405e56a37 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Thu, 11 Jun 2026 11:14:02 +0000 Subject: [PATCH] ghostscript: upgrade 10.07.0 -> 10.07.1 --- ...ace-static-const-double-with-macros-.patch | 4 +-- .../avoid-host-contamination.patch | 4 +-- .../ghostscript-9.16-Werror-return-type.patch | 2 +- .../ghostscript/ghostscript/out-of-tree.patch | 30 ++++++++----------- ...ript_10.07.0.bb => ghostscript_10.07.1.bb} | 2 +- 5 files changed, 19 insertions(+), 23 deletions(-) rename meta/recipes-extended/ghostscript/{ghostscript_10.07.0.bb => ghostscript_10.07.1.bb} (97%) diff --git a/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch b/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch index 6f310abf2e..d21b39aeae 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/0001-psi-ztype.c-replace-static-const-double-with-macros-.patch @@ -1,4 +1,4 @@ -From 0298799777bd179c455e5ce8d6008b2d84732967 Mon Sep 17 00:00:00 2001 +From 815f7180c3716eb3a2e77775d4d104e820717262 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Tue, 7 Apr 2026 22:40:26 -0700 Subject: [PATCH] psi/ztype.c: replace static const double with macros for @@ -28,6 +28,6 @@ index a01d83f..d454778 100644 + +#define min_int_real ((double)(ALT_MIN_INT) - 1.0) +#define max_int_real ((double)(ALT_MAX_INT) + 1.0) - + #define REAL_CAN_BE_INT(v)\ ((v) > min_int_real && (v) < max_int_real) diff --git a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch index d191231c7b..baa3598fd7 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/avoid-host-contamination.patch @@ -1,4 +1,4 @@ -From 85905ce3b1bc63f0be9eda9888e40d8e7a803d21 Mon Sep 17 00:00:00 2001 +From 14a2fa8a78974935a69a720cfdcbd3ac2c5bd27d Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Thu, 29 Mar 2018 16:02:05 +0800 Subject: [PATCH] avoid host contamination @@ -15,7 +15,7 @@ Signed-off-by: Hongxu Jia 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/devs.mak b/devices/devs.mak -index a5dbc7a..27b55f2 100644 +index 1e44e8d..f4d95da 100644 --- a/devices/devs.mak +++ b/devices/devs.mak @@ -403,7 +403,7 @@ $(DEVOBJ)gdevxalt.$(OBJ) : $(DEVSRC)gdevxalt.c $(GDEVX) $(math__h) $(memory__h)\ diff --git a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch index 0598c3dcd2..6125af60a5 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/ghostscript-9.16-Werror-return-type.patch @@ -1,4 +1,4 @@ -From c23b787f9a38be2cdc57133915c402b69acedd1a Mon Sep 17 00:00:00 2001 +From e8892d650b06b3065a9bff1f787ae90043c81ac3 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Mon, 4 May 2015 22:31:48 -0700 Subject: [PATCH] base/gendev.c: fix for -Werror=return-type diff --git a/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch b/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch index 202c9d6c7c..5f6e0ca394 100644 --- a/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch +++ b/meta/recipes-extended/ghostscript/ghostscript/out-of-tree.patch @@ -1,14 +1,21 @@ -Fix the build to do out-of-tree properly. +From 6f792c2e8df8103fbbde16aba401ab21dd2539a2 Mon Sep 17 00:00:00 2001 +From: Ross Burton +Date: Thu, 2 Apr 2026 14:41:42 +0100 +Subject: [PATCH] Fix the build to do out-of-tree properly. The patches are in progress but are being submitted upstream. Upstream-Status: Submitted [https://bugs.ghostscript.com/show_bug.cgi?id=709289] Signed-off-by: Ross Burton +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) -diff -rU3 a/configure.ac b/configure.ac ---- a/configure.ac 2025-09-09 10:36:39.000000000 +0100 -+++ b/configure.ac 2026-03-31 15:35:08.988262612 +0100 -@@ -400,7 +400,7 @@ +diff --git a/configure.ac b/configure.ac +index b2b3678..dd00e86 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -400,7 +400,7 @@ if test x"$with_arch_h" = x""; then *) ARCH_CONF_HEADER= if test x"$host" != x"$build"; then @@ -17,18 +24,7 @@ diff -rU3 a/configure.ac b/configure.ac else ARCH_CONF_HEADER= fi -@@ -869,8 +869,8 @@ - AC_SUBST(RECURSIVE_MUTEXATTR) - - dnl Tesseract/Leptonica detection --TESSERACTDIR=tesseract --LEPTONICADIR=leptonica -+TESSERACTDIR=$srcdir/tesseract -+LEPTONICADIR=$srcdir/leptonica - OCR_VERSION=0 - OCR_SHARED=0 - LEPTONICAINCLUDE= -@@ -886,7 +886,7 @@ +@@ -889,7 +889,7 @@ AC_ARG_WITH([tesseract], AS_HELP_STRING([--without-tesseract], if test x$with_tesseract != xno; then AC_MSG_CHECKING([for local Tesseract library source]) diff --git a/meta/recipes-extended/ghostscript/ghostscript_10.07.0.bb b/meta/recipes-extended/ghostscript/ghostscript_10.07.1.bb similarity index 97% rename from meta/recipes-extended/ghostscript/ghostscript_10.07.0.bb rename to meta/recipes-extended/ghostscript/ghostscript_10.07.1.bb index 1b6cb4aaae..3254872036 100644 --- a/meta/recipes-extended/ghostscript/ghostscript_10.07.0.bb +++ b/meta/recipes-extended/ghostscript/ghostscript_10.07.1.bb @@ -28,7 +28,7 @@ SRC_URI = "https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/downlo file://0001-psi-ztype.c-replace-static-const-double-with-macros-.patch \ " -SRC_URI[sha256sum] = "ed6ea62022e3f4d5a6569b6efc9361b63a6d118bfcad8f0beb897c37885b5cad" +SRC_URI[sha256sum] = "2fc74362f9be6fae1b0a65d38fdcfd4f0b518cc3b07c5581fb661eb4d2e15251" PACKAGECONFIG ??= "" PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3" -- 2.47.1