File: 113-postscript-fix.dpatch

package info (click to toggle)
cernlib 20061220%2Bdfsg3-4.4
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,872 kB
  • sloc: sh: 9,517; makefile: 187
file content (27 lines) | stat: -rwxr-xr-x 981 bytes parent folder | download | duplicates (4)
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
#! /bin/sh /usr/share/dpatch/dpatch-run
## 113-postscript-fix.dpatch by Kevin B. McCarty <kmccarty@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Fix for minor postscript issue reported by Angelo Graziosi.
## DP: Resurrected from old Cernlib 2005 patch by Frank Dohrmann.

@DPATCH@
diff -urNad cernlib-2006.dfsg.2~/src/graflib/higz/ipost/ipdef.F cernlib-2006.dfsg.2/src/graflib/higz/ipost/ipdef.F
--- cernlib-2006.dfsg.2~/src/graflib/higz/ipost/ipdef.F	2006-08-28 15:45:41.000000000 +0200
+++ cernlib-2006.dfsg.2/src/graflib/higz/ipost/ipdef.F	2009-03-13 04:27:31.000000000 +0100
@@ -344,7 +344,6 @@
       ENDIF
 *
       CALL IPPSTR('%%EndProlog@')
-      IF (MODE.NE.3) CALL IPPSTR('%%Page: number 1@')
 *
       CALL IPPSTR('%%BeginSetup@')
       CALL IPPSTR('%%EndSetup@')
@@ -367,6 +366,7 @@
       IF (MODE.NE.3) CALL IPSVRT(1)
 *
       NBSAV0 = NBSAVE
+      IF (MODE.NE.3) CALL IPPSTR('%%Page: number 1@')
 *
       RETURN
 *