| |
@@ -0,0 +1,35 @@
|
| |
+ From c6166768c6e963b0fe28ccdb266629443e521381 Mon Sep 17 00:00:00 2001
|
| |
+ Message-Id: <c6166768c6e963b0fe28ccdb266629443e521381.1614089593.git.gruber@math.uni-hannover.de>
|
| |
+ From: Ray Johnston <ray.johnston@artifex.com>
|
| |
+ Date: Mon, 14 Dec 2020 08:39:50 -0800
|
| |
+ Subject: [PATCH] Fix bug 703270: Wrong path for PostScript helper file in
|
| |
+ ps2epsi
|
| |
+
|
| |
+ In the change mentioned in the bug, rather than rely on the LIBPATH
|
| |
+ search method, the ps2epsi script assumed that pd2epsi.ps would be
|
| |
+ in the same directory as the 'gs' executable, which is not correct.
|
| |
+
|
| |
+ Change to use bare 'ps2epsi.ps' so that it will be found on the
|
| |
+ LIBPATH as instialled by: make install
|
| |
+ ---
|
| |
+ lib/ps2epsi | 4 ++--
|
| |
+ 1 file changed, 2 insertions(+), 2 deletions(-)
|
| |
+
|
| |
+ diff --git a/lib/ps2epsi b/lib/ps2epsi
|
| |
+ index 7590cb5a7..dbfc9fb3d 100755
|
| |
+ --- a/lib/ps2epsi
|
| |
+ +++ b/lib/ps2epsi
|
| |
+ @@ -40,8 +40,8 @@ else
|
| |
+ outfile=$2
|
| |
+ fi
|
| |
+
|
| |
+ -# Note, we expect 'ps2epsi.ps' to be in the same directory as 'ps2epsi'
|
| |
+ +# Note, we expect 'ps2epsi.ps' to be on one of the search paths which can be seen by: gs -h
|
| |
+ "$GS_EXECUTABLE" -q -dNOOUTERSAVE -dNODISPLAY -dLastPage=1 -sOutputFile="${outfile}" \
|
| |
+ - --permit-file-all="${infile}" -- "$LIBDIR/ps2epsi.ps" "${infile}" 1>&2
|
| |
+ + --permit-file-all="${infile}" -- ps2epsi.ps "${infile}" 1>&2
|
| |
+
|
| |
+ exit 0
|
| |
+ --
|
| |
+ 2.30.1.724.gc30ef96fb6
|
| |
+
|
| |
See bz #1931832.
Fix should be good (and necessary) for rawhide through F33. separate PR for F32.