commit fb08d556fcd9ef743661213a3c8ec65aebe774e4
Author: Jan Palus <[email protected]>
Date:   Wed Sep 18 19:53:51 2024 +0200

    up to 10.04.0

 ghostpdl.spec |  8 +++-----
 pdf_sec.patch | 29 -----------------------------
 2 files changed, 3 insertions(+), 34 deletions(-)
---
diff --git a/ghostpdl.spec b/ghostpdl.spec
index 464717a..e1bccf8 100644
--- a/ghostpdl.spec
+++ b/ghostpdl.spec
@@ -12,17 +12,16 @@
 Summary:       PostScript, PDF and XPS interpreter and renderer
 Summary(pl.UTF-8):     Interpreter i renderer PostScriptu, PDF oraz XPS
 Name:          ghostpdl
-Version:       10.03.1
+Version:       10.04.0
 Release:       1
 License:       AGPL v3+
 Group:         Applications/Graphics
 #Source0Download: 
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases
-Source0:       
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10031/%{name}-%{version}.tar.xz
-# Source0-md5: e4a9e4b838149cf83309125e80df4c56
+Source0:       
https://github.com/ArtifexSoftware/ghostpdl-downloads/releases/download/gs10040/%{name}-%{version}.tar.xz
+# Source0-md5: 599e2cbbf492414d68d8462cfd911427
 Patch0:                %{name}-fonts_locations.patch
 Patch1:                %{name}-make.patch
 Patch2:                %{name}-system-libs.patch
-Patch3:                pdf_sec.patch
 URL:           https://ghostscript.com/
 BuildRequires: autoconf >= 2.63
 BuildRequires: cups-devel >= 1.5
@@ -111,7 +110,6 @@ oparciu o Ghostscript.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
-%patch3 -p1
 
 %build
 # use system libs:
diff --git a/pdf_sec.patch b/pdf_sec.patch
deleted file mode 100644
index 057be09..0000000
--- a/pdf_sec.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From 90cabe08422afdd16bac5dd9217602679d943045 Mon Sep 17 00:00:00 2001
-From: Ken Sharp <[email protected]>
-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;
-         }
- 
--- 
-2.34.1
-
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghostpdl.git/commitdiff/fb08d556fcd9ef743661213a3c8ec65aebe774e4

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to