diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-27 18:21:21 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-04-27 18:21:21 +0000 |
commit | 86c37e0bf7207d64ddf53feb9a9d82023d3794b0 (patch) | |
tree | cb1df2eb1fc82bc43280020f1efb6f9b91ab9cf5 /print/ghostscript-gpl/files/patch-src:dviprlib.c | |
parent | Update to 1.9 (diff) |
- Update Gimp-Print driver to version 4.2.1
- Fix build on -current
- Fix checksum of gdevdj9.c.gz (again)
- Get much improved ps2epsi stuff from ghostscript-gnu version
PR: 37500
Submitted by: Ports Fury
Notes
Notes:
svn path=/head/; revision=58241
Diffstat (limited to '')
-rw-r--r-- | print/ghostscript-gpl/files/patch-src:dviprlib.c | 20 |
1 files changed, 5 insertions, 15 deletions
diff --git a/print/ghostscript-gpl/files/patch-src:dviprlib.c b/print/ghostscript-gpl/files/patch-src:dviprlib.c index 1fc25e484764..67662665f273 100644 --- a/print/ghostscript-gpl/files/patch-src:dviprlib.c +++ b/print/ghostscript-gpl/files/patch-src:dviprlib.c @@ -1,23 +1,13 @@ ---- src/dviprlib.c.orig Tue May 13 00:14:09 1997 -+++ src/dviprlib.c Thu Apr 4 03:18:57 2002 -@@ -1433,7 +1433,8 @@ +--- src/dviprlib.c.orig Tue May 13 16:14:09 1997 ++++ src/dviprlib.c Mon Apr 22 23:02:58 2002 +@@ -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 int dviprt_messagestream_init; ++private void dviprt_messagestream_construct (void) __attribute__((constructor)); ++private void dviprt_messagestream_construct (void) { dviprt_messagestream = stderr; } /*--- library functions ---*/ int -@@ -1505,6 +1506,10 @@ - liblocal int - dviprt_printmessage(char *str,int len) - { -+ if (!dviprt_messagestream_init) { -+ dviprt_messagestream = stderr; -+ dviprt_messagestream_init = 1; -+ } - if (dviprt_messagestream && str) { - if (len >= 0) fwrite(str,len,1,dviprt_messagestream); - else fputs(str,dviprt_messagestream); |