fix stdio problem on -CURRENT

This commit is contained in:
Yen-Ming Lee 2002-11-24 05:06:03 +00:00
parent 9eb098f016
commit 495942400b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=70951
2 changed files with 12 additions and 1 deletions

View file

@ -7,7 +7,7 @@
PORTNAME= cn2jp
PORTVERSION= 1.4b
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= converters chinese japanese
MASTER_SITES= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/
DISTNAME= ${PORTNAME}${PORTVERSION}

View file

@ -0,0 +1,11 @@
--- lib/hz2gb.c.orig Mon Nov 18 23:42:53 2002
+++ lib/hz2gb.c Mon Nov 18 23:50:14 2002
@@ -64,7 +64,7 @@
int pass8 = FALSE; /* flat for parsing all 8 bits of a character */
int termStyle = FALSE; /* flag for ignoring line-continuation markers */
int errorCount = 0; /* number of parsing errors detected */
-FILE *ferr = stdout; /* error reporting channel */
+#define ferr stdout /* error reporting channel */
void usage(), filter(), EOFerror(), ESCerror(), GBerror(), GBerror1();
void GBtoSGB();