summaryrefslogtreecommitdiff
path: root/print/ghostscript-gpl/files/patch-src:gdevgdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript-gpl/files/patch-src:gdevgdi.c')
-rw-r--r--print/ghostscript-gpl/files/patch-src:gdevgdi.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:gdevgdi.c b/print/ghostscript-gpl/files/patch-src:gdevgdi.c
new file mode 100644
index 000000000000..15f7c66b85ee
--- /dev/null
+++ b/print/ghostscript-gpl/files/patch-src:gdevgdi.c
@@ -0,0 +1,19 @@
+--- src/gdevgdi.c.orig Fri Feb 9 04:51:11 2001
++++ src/gdevgdi.c Tue Aug 21 11:17:56 2001
+@@ -24,6 +24,7 @@
+ /* SAMSUNG GDI driver for Ghostscript */
+ #include "gdevprn.h"
+ #include "gdevpcl.h"
++#include "gsparam.h"
+
+
+ /*
+@@ -126,7 +127,7 @@
+ private int
+ gdi_open(gx_device *pdev)
+ { /* Change the margins if necessary. */
+- const float _ds *m = 0;
++ const float *m = 0;
+ bool move_origin = true;
+
+ static const float m_a4[4] = { GDI_MARGINS_A4 };