Package: ghostscript Version: 9.28~~rc3~dfsg-1 Severity: normal Tags: patch upstream
Dear Maintainer, dvipdf produces an single blank page pdf file whatever the source file is. The last line of this script needs a dash at the end, that has been dropped when deprecating the .setpdfwrite operator - see http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=15d95340389f0f46bd214803ec19685c0a738a0e Regards, Alexis Bienvenüe. -- System Information: Debian Release: bullseye/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.2.0-2-amd64 (SMP w/8 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages ghostscript depends on: ii libc6 2.29-2 ii libgs9 9.28~~rc3~dfsg-1 ghostscript recommends no packages. Versions of packages ghostscript suggests: pn ghostscript-x <none>
Index: ghostscript-9.28~~rc3~dfsg/lib/dvipdf Description: Fix dvipdf, that produced single blank page output whatever the source file is. =================================================================== --- ghostscript-9.28~~rc3~dfsg.orig/lib/dvipdf +++ ghostscript-9.28~~rc3~dfsg/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 -