[packages/ghostscript] - rediff

qboosh qboosh at pld-linux.org
Sun Apr 25 21:36:01 CEST 2021


commit 25abab3c79d3b45f2279f5024237d068de9eee78
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Sun Apr 25 21:31:52 2021 +0200

    - rediff

 ghostscript-missquotes.patch |  9 ++++-----
 ghostscript-zlib.patch       | 11 +++++------
 2 files changed, 9 insertions(+), 11 deletions(-)
---
diff --git a/ghostscript-missquotes.patch b/ghostscript-missquotes.patch
index 6ce2bc8..77c0356 100644
--- a/ghostscript-missquotes.patch
+++ b/ghostscript-missquotes.patch
@@ -19,17 +19,16 @@ diff -urN espgs-7.07.1rc2.org/lib/dvipdf espgs-7.07.1rc2/lib/dvipdf
  fi
  
  # We have to include the options twice because -I only takes effect if it
-diff -urN espgs-7.07.1rc2.org/lib/pdf2dsc espgs-7.07.1rc2/lib/pdf2dsc
---- espgs-7.07.1rc2.org/lib/pdf2dsc	Sun Sep 14 18:43:09 2003
-+++ espgs-7.07.1rc2/lib/pdf2dsc	Sun Sep 14 18:43:26 2003
-@@ -20,7 +20,7 @@
+--- ghostscript-9.54.0/lib/pdf2dsc.orig	2021-04-25 20:34:00.760212192 +0200
++++ ghostscript-9.54.0/lib/pdf2dsc	2021-04-25 20:44:48.926966311 +0200
+@@ -28,7 +28,7 @@ fi
  
  pdffile=$1
  dscfile=$2
 -: ${dscfile:=`echo $pdffile | sed 's,\.[^/.]*,,'`.dsc}
 +: ${dscfile:=`echo "$pdffile" | sed 's,\.[^/.]*,,'`.dsc}
  
- exec gs -q -dNODISPLAY -dSAFER -dDELAYSAFER\
+ exec "$GS_EXECUTABLE" -q -dNODISPLAY -P- -dSAFER -dDELAYSAFER\
      -sPDFname="$pdffile" -sDSCname="$dscfile" pdf2dsc.ps -c quit
 diff -urN espgs-7.07.1rc2.org/lib/pdf2ps espgs-7.07.1rc2/lib/pdf2ps
 --- espgs-7.07.1rc2.org/lib/pdf2ps	Sun Sep 14 18:43:09 2003
diff --git a/ghostscript-zlib.patch b/ghostscript-zlib.patch
index 2f57fcf..533f0eb 100644
--- a/ghostscript-zlib.patch
+++ b/ghostscript-zlib.patch
@@ -1,16 +1,15 @@
-diff -ruN ghostscript-9.18.orig/configure.ac ghostscript-9.18/configure.ac
---- ghostscript-9.18.orig/configure.ac	2015-10-05 10:21:11.000000000 +0200
-+++ ghostscript-9.18/configure.ac	2015-12-30 18:50:49.477074470 +0100
-@@ -917,7 +917,7 @@
+--- ghostscript-9.54.0/configure.ac.orig	2021-04-25 20:45:17.498439464 +0200
++++ ghostscript-9.54.0/configure.ac	2021-04-25 20:46:23.098488486 +0200
+@@ -1403,7 +1403,7 @@ AC_MSG_CHECKING([for local zlib source])
  dnl zlib is needed for language level 3, and libpng
  # we must define ZLIBDIR regardless because png.mak does a -I$(ZLIBDIR)
  # this seems a harmless default
 -ZLIBDIR=src
 +ZLIBDIR=$includedir
  AUX_SHARED_ZLIB=
+ ZLIBCFLAGS=""
  
- if test -d $srcdir/zlib; then
-@@ -936,6 +936,8 @@
+@@ -1434,6 +1434,8 @@ if test -z "$SHARE_ZLIB"; then
    local directory named 'zlib'. See http://www.gzip.org/zlib/
    for more information.
    ])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ghostscript.git/commitdiff/51a394e6d321b0cc35fb0f8c9442762a42aad129



More information about the pld-cvs-commit mailing list