File: 0017-fixps-use-GhostScript-ps2write-device-not-defunct-ps.patch

package info (click to toggle)
a2ps 1%3A4.14-8
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 13,672 kB
  • sloc: ansic: 26,966; sh: 11,844; lex: 2,286; perl: 1,156; yacc: 757; makefile: 584; lisp: 398; ada: 263; objc: 189; f90: 109; ml: 85; sql: 74; pascal: 57; modula3: 33; haskell: 32; sed: 30; java: 29; python: 24
file content (37 lines) | stat: -rw-r--r-- 1,392 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
From: Boyuan Yang <byang@debian.org>
Date: Thu, 13 Apr 2023 22:43:16 -0400
Subject: fixps: use GhostScript ps2write device, not defunct pswrite device

Applied-Upstream: https://git.savannah.gnu.org/cgit/a2ps.git/commit/?id=985b15ceafc1021ee1690f499cc6ae341e31a000
Bug-Debian: https://bugs.debian.org/1008579
---
 contrib/fixps.in | 2 +-
 contrib/fixps.m4 | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/contrib/fixps.in b/contrib/fixps.in
index 6c06825..16bcf12 100644
--- a/contrib/fixps.in
+++ b/contrib/fixps.in
@@ -389,7 +389,7 @@ if test $task != check; then
   	eval "$command" ;;
       gs)
         $verbose "$program: making a full rewrite of the file ($gs)." >&2
-  	$gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
+  	$gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=ps2write -sOutputFile=- -c save pop -f $file ;;
     esac
   )
 fi
diff --git a/contrib/fixps.m4 b/contrib/fixps.m4
index 84d4178..169f7cd 100644
--- a/contrib/fixps.m4
+++ b/contrib/fixps.m4
@@ -307,7 +307,7 @@ if test $task != check; then
   	eval "$command" ;;
       gs)
         $verbose "$program: making a full rewrite of the file ($gs)." >&2
-  	$gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pswrite -sOutputFile=- -c save pop -f $file ;;
+  	$gs -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=ps2write -sOutputFile=- -c save pop -f $file ;;
     esac
   )
 fi