diff --git a/packages/ghostscript/build.sh b/packages/ghostscript/build.sh index 22660ae121e82e..9f91cc428be756 100644 --- a/packages/ghostscript/build.sh +++ b/packages/ghostscript/build.sh @@ -2,10 +2,9 @@ TERMUX_PKG_HOMEPAGE=https://www.ghostscript.com/ TERMUX_PKG_DESCRIPTION="Interpreter for the PostScript language and for PDF" TERMUX_PKG_LICENSE="AGPL-V3" TERMUX_PKG_MAINTAINER="@termux" -TERMUX_PKG_VERSION="10.03.1" -TERMUX_PKG_REVISION=3 +TERMUX_PKG_VERSION="10.05.1" TERMUX_PKG_SRCURL=https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs${TERMUX_PKG_VERSION//.}/ghostpdl-${TERMUX_PKG_VERSION}.tar.gz -TERMUX_PKG_SHA256=8ea9dd8768b64576bc4ee2d79611450c9e1edeb686f7824f3bf94b92457b882a +TERMUX_PKG_SHA256=c0be073366d19471320dce13e210b4c47e14b01070d6cf3d2d6d6e8415344615 TERMUX_PKG_AUTO_UPDATE=false TERMUX_PKG_DEPENDS="fontconfig, freetype, jbig2dec, libandroid-support, libc++, libiconv, libidn, libjpeg-turbo, libpng, libtiff, littlecms, openjpeg, zlib" TERMUX_PKG_BUILD_DEPENDS="libexpat" diff --git a/packages/ghostscript/fix-incompatible-pointer-types.patch b/packages/ghostscript/fix-incompatible-pointer-types.patch deleted file mode 100644 index 623efa18fba3e3..00000000000000 --- a/packages/ghostscript/fix-incompatible-pointer-types.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 90cabe08422afdd16bac5dd9217602679d943045 Mon Sep 17 00:00:00 2001 -From: Ken Sharp -Date: Fri, 8 Mar 2024 09:19:05 +0000 -Subject: [PATCH] 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; - } -