#! /bin/sh /usr/share/dpatch/dpatch-run
## 113-cups-postscript-fix.dpatch by <kmccarty@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Re-order PostScript output to work around CUPS printing issue.
@DPATCH@
diff -urNad cernlib-2005.05.09~/src/graflib/higz/ipost/ipdef.F cernlib-2005.05.09/src/graflib/higz/ipost/ipdef.F
--- cernlib-2005.05.09~/src/graflib/higz/ipost/ipdef.F 2003-03-20 09:14:10.000000000 +0000
+++ cernlib-2005.05.09/src/graflib/higz/ipost/ipdef.F 2005-09-20 18:59:21.992348547 +0000
@@ -316,6 +316,7 @@
CALL IPPSTR('%%EndProlog@')
*
CALL IPPSTR('%%BeginSetup@')
+ CALL IPPSTR('%%EndSetup@')
CALL IPPSTF(8,'newpath ')
CALL IPSVRT(1)
IF (MODE.EQ.1.OR.MODE.EQ.4) THEN
@@ -333,7 +334,6 @@
ENDIF
CALL IPPSTF(15,' .25 .25 scale ')
IF (MODE.NE.3) CALL IPSVRT(1)
- CALL IPPSTR('%%EndSetup@')
*
NBSAV0 = NBSAVE
IF (MODE.NE.3) CALL IPPSTR('%%Page: number 1@')