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
|