pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript-agpl ghostscript-agpl: fix dvipdf



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3574e11643e6
branches:  trunk
changeset: 409155:3574e11643e6
user:      markd <markd%pkgsrc.org@localhost>
date:      Thu Jan 16 11:25:41 2020 +0000

description:
ghostscript-agpl: fix dvipdf

diffstat:

 print/ghostscript-agpl/Makefile                 |   4 ++--
 print/ghostscript-agpl/distinfo                 |   3 ++-
 print/ghostscript-agpl/patches/patch-lib_dvipdf |  13 +++++++++++++
 3 files changed, 17 insertions(+), 3 deletions(-)

diffs (45 lines):

diff -r 7920bb1140bf -r 3574e11643e6 print/ghostscript-agpl/Makefile
--- a/print/ghostscript-agpl/Makefile   Thu Jan 16 10:46:14 2020 +0000
+++ b/print/ghostscript-agpl/Makefile   Thu Jan 16 11:25:41 2020 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.50 2020/01/06 07:23:26 mef Exp $
+# $NetBSD: Makefile,v 1.51 2020/01/16 11:25:41 markd Exp $
 
 DISTNAME=      ghostscript-${GS_VERSION}
 PKGNAME=       ${DISTNAME:S/ghostscript/ghostscript-agpl/}
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    print
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ArtifexSoftware/}
 GITHUB_PROJECT=        ghostpdl-downloads
diff -r 7920bb1140bf -r 3574e11643e6 print/ghostscript-agpl/distinfo
--- a/print/ghostscript-agpl/distinfo   Thu Jan 16 10:46:14 2020 +0000
+++ b/print/ghostscript-agpl/distinfo   Thu Jan 16 11:25:41 2020 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.27 2020/01/03 23:56:09 sevan Exp $
+$NetBSD: distinfo,v 1.28 2020/01/16 11:25:41 markd Exp $
 
 SHA1 (ghostscript-9.50.tar.xz) = 3be5f36300e3031e68a28cd898b3eebc9151660b
 RMD160 (ghostscript-9.50.tar.xz) = 7ba4ac83bff4b2bb4b102002501cc6ee0a74ace2
@@ -12,3 +12,4 @@
 SHA1 (patch-base_unix-dll.mak) = 73b5ee7fcbc7940ce72f44b35417d624f7ae5bca
 SHA1 (patch-configure) = 08ed9451fc3cf1aade8992e4297c7df736416c8b
 SHA1 (patch-devices_devs.mak) = 9857c177e7a6a28ee326dbc878bbe52ccbcfedce
+SHA1 (patch-lib_dvipdf) = 1a8e06bca28c9b74a09dfa3bea514fcca8bafd52
diff -r 7920bb1140bf -r 3574e11643e6 print/ghostscript-agpl/patches/patch-lib_dvipdf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/ghostscript-agpl/patches/patch-lib_dvipdf   Thu Jan 16 11:25:41 2020 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-lib_dvipdf,v 1.1 2020/01/16 11:25:41 markd Exp $
+
+script requires a trailing '-'
+commit b4521b891de48d7f62be739d02749c4aeca2fde8
+
+--- lib/dvipdf.orig    2019-10-15 09:05:37.000000000 +0000
++++ lib/dvipdf
+@@ -43,4 +43,4 @@ fi
+ 
+ # We have to include the options twice because -I only takes effect if it
+ # appears before other options.
+-exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS
++exec dvips -Ppdf $DVIPSOPTIONS -q -f "$infile" | $GS_EXECUTABLE $OPTIONS -q -P- -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sstdout=%stderr -sOutputFile="$outfile" $OPTIONS -



Home | Main Index | Thread Index | Old Index