diff --git a/japanese/vfghostscript55/files/patch-dviprlib.c b/japanese/vfghostscript55/files/patch-dviprlib.c new file mode 100644 index 000000000000..97cf6957e8eb --- /dev/null +++ b/japanese/vfghostscript55/files/patch-dviprlib.c @@ -0,0 +1,14 @@ +--- jp-printers/gdevdmpr/dviprlib.c.orig Tue May 13 16:14:09 1997 ++++ jp-printers/gdevdmpr/dviprlib.c Wed Oct 17 07:18:20 2001 +@@ -1433,7 +1433,9 @@ + char *dviprt_prtcodename[] = { CFG_PRTCODE_NAME, NULL }; + char *dviprt_encodename[] = { CFG_ENCODE_NAME, NULL }; + +-private FILE *dviprt_messagestream = stderr; ++private FILE *dviprt_messagestream; ++private void dviprt_messagestream_construct (void) __attribute__((constructor)); ++private void dviprt_messagestream_construct (void) { dviprt_messagestream = stderr; } + + /*--- library functions ---*/ + int +