#! /bin/sh /usr/share/dpatch/dpatch-run
## pxl-duplex.dpatch by  <till.kamppeter@gmail.com>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: No description.

@DPATCH@
diff -urNad ghostscript-8.63.dfsg.1~/src/gdevpx.c ghostscript-8.63.dfsg.1/src/gdevpx.c
--- ghostscript-8.63.dfsg.1~/src/gdevpx.c	2008-06-24 16:16:29.000000000 +0200
+++ ghostscript-8.63.dfsg.1/src/gdevpx.c	2008-10-13 22:47:03.000000000 +0200
@@ -1149,11 +1149,6 @@
     if (code < 0)
 	return code;
 
-    xdev->page = 0;
-    xdev->Duplex = false;
-    xdev->MediaPosition = 0;
-    xdev->Tumble = false;
-
     pclxl_page_init(xdev);
     px_write_file_header(vdev->strm, dev);
     xdev->media_size = pxeMediaSize_next;	/* no size selected */
