summaryrefslogtreecommitdiff
path: root/print/ghostscript/patches/patch-be
diff options
context:
space:
mode:
Diffstat (limited to 'print/ghostscript/patches/patch-be')
-rw-r--r--print/ghostscript/patches/patch-be22
1 files changed, 22 insertions, 0 deletions
diff --git a/print/ghostscript/patches/patch-be b/print/ghostscript/patches/patch-be
new file mode 100644
index 00000000000..7bcf2bc3e57
--- /dev/null
+++ b/print/ghostscript/patches/patch-be
@@ -0,0 +1,22 @@
+$NetBSD: patch-be,v 1.1 2005/12/09 20:30:16 wiz Exp $
+
+--- src/dviprlib.c.orig 2005-12-06 21:32:25.000000000 +0000
++++ src/dviprlib.c
+@@ -1433,7 +1433,7 @@ char *dviprt_stringsname[] = { CFG_STRIN
+ char *dviprt_prtcodename[] = { CFG_PRTCODE_NAME, NULL };
+ char *dviprt_encodename[] = { CFG_ENCODE_NAME, NULL };
+
+-private FILE *dviprt_messagestream = stderr;
++private FILE *dviprt_messagestream;
+
+ /*--- library functions ---*/
+ int
+@@ -1585,6 +1585,8 @@ dviprt_initlibrary(dviprt_print *pprint,
+ {
+ dviprt_encoder *pencode;
+ uint pins = pprt->integer[CFG_PINS]*8;
++
++ dviprt_messagestream = stderr;
+
+ pprint->printer = pprt;
+ height += (pins-1);