Fixed compiling problem on 5-current. Maintainer's update.

Submitted by:	http://home.jp.FreeBSD.ORG/cgi-bin/showmail/ports-jp/11463
This commit is contained in:
Yoshio MITA 2002-04-21 04:01:25 +00:00
parent 22efcf807d
commit 943afe37e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=57946

View File

@ -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