aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormita <mita@FreeBSD.org>2002-04-21 12:01:25 +0800
committermita <mita@FreeBSD.org>2002-04-21 12:01:25 +0800
commit174b314ba879440b143922dacc1bcc58455cb970 (patch)
treea11b273384d10750e13fdfc675a30709699014dc
parentffd077e141cb19fbe7d5ae369a17e75cf9bb0984 (diff)
downloadfreebsd-ports-gnome-174b314ba879440b143922dacc1bcc58455cb970.tar.gz
freebsd-ports-gnome-174b314ba879440b143922dacc1bcc58455cb970.tar.zst
freebsd-ports-gnome-174b314ba879440b143922dacc1bcc58455cb970.zip
Fixed compiling problem on 5-current. Maintainer's update.
Submitted by: http://home.jp.FreeBSD.ORG/cgi-bin/showmail/ports-jp/11463
-rw-r--r--japanese/vfghostscript55/files/patch-dviprlib.c14
1 files changed, 14 insertions, 0 deletions
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
+