diff --git a/converters/cn2jp/Makefile b/converters/cn2jp/Makefile index 976aa6830c28..f4e15e287dab 100644 --- a/converters/cn2jp/Makefile +++ b/converters/cn2jp/Makefile @@ -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} diff --git a/converters/cn2jp/files/patch-lib::hz2gb.c b/converters/cn2jp/files/patch-lib::hz2gb.c new file mode 100644 index 000000000000..9678966c88a9 --- /dev/null +++ b/converters/cn2jp/files/patch-lib::hz2gb.c @@ -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();