aboutsummaryrefslogtreecommitdiff
path: root/converters/cn2jp
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2002-11-24 05:06:03 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2002-11-24 05:06:03 +0000
commit495942400bc310b471e650969c60328fecdfeee9 (patch)
treeb454464d23ba5e1185020cc0f8d882eb5239605c /converters/cn2jp
parent9eb098f01693ade1b7ab56491dfcda81e553ba2d (diff)
downloadports-495942400bc310b471e650969c60328fecdfeee9.tar.gz
ports-495942400bc310b471e650969c60328fecdfeee9.zip
Notes
Diffstat (limited to 'converters/cn2jp')
-rw-r--r--converters/cn2jp/Makefile2
-rw-r--r--converters/cn2jp/files/patch-lib::hz2gb.c11
2 files changed, 12 insertions, 1 deletions
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();