- dvipdf script fixes (bug #88906).

- Resolves: rhbz#88906
This commit is contained in:
Tim Waugh 2007-01-25 12:15:57 +00:00
parent 9446583888
commit ff495ba08e
2 changed files with 13 additions and 0 deletions

8
ghostscript-dvipdf.patch Normal file
View File

@ -0,0 +1,8 @@
--- espgs-8.15.3/lib/dvipdf.dvipdf 2007-01-25 12:14:49.000000000 +0000
+++ espgs-8.15.3/lib/dvipdf 2007-01-25 12:15:02.000000000 +0000
@@ -37,4 +37,4 @@
# We have to include the options twice because -I only takes effect if it
# appears before other options.
-exec dvips -q -f "$infile" | gs $OPTIONS -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -
+exec dvips -R -q -f "$infile" | gs $OPTIONS -q -dSAFER -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile="$outfile" $OPTIONS -c .setpdfwrite -

View File

@ -20,6 +20,7 @@ Patch3: ghostscript-noopt.patch
Patch4: ghostscript-big-cmap-post.patch
Patch5: ghostscript-split-cidfnmap.patch
Patch6: ghostscript-gxcht-64bit-crash.patch
Patch7: ghostscript-dvipdf.patch
Requires: urw-fonts >= 1.1, ghostscript-fonts
BuildRequires: libjpeg-devel, libXt-devel
@ -91,6 +92,9 @@ A GTK-enabled version of Ghostscript, called 'gsx'.
# Backported gxcht 64bit crash fix from GPL trunk (bug #177763).
%patch6 -p1 -b .gxcht-64bit-crash
# dvipdf script fixes (bug #88906).
%patch7 -p1 -b .dvipdf
# Convert manual pages to UTF-8
from8859_1() {
iconv -f iso-8859-1 -t utf-8 < "$1" > "${1}_"
@ -249,6 +253,7 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Thu Jan 25 2007 Tim Waugh <twaugh@redhat.com>
- dvipdf script fixes (bug #88906).
- Moved libijs.so and libgs.so into devel package (bug #203623).
* Wed Jan 24 2007 Tim Waugh <twaugh@redhat.com> 8.15.3-6