summaryrefslogtreecommitdiff
path: root/converters/cn2jp
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2006-01-11 16:02:24 +0000
committerjoerg <joerg@pkgsrc.org>2006-01-11 16:02:24 +0000
commitdfa39b6c055195e731204fc365497f05b3bdec69 (patch)
tree87589a83f552d8cdb7f646b640ca190b18576f53 /converters/cn2jp
parentd1be95b776e2bdd8a337313dc8b7e34b9976b859 (diff)
downloadpkgsrc-dfa39b6c055195e731204fc365497f05b3bdec69.tar.gz
ferr is a bad name for a global symbol and can't be portably initialised
to stdout anyway, so remove it. Bump revision.
Diffstat (limited to 'converters/cn2jp')
-rw-r--r--converters/cn2jp/Makefile4
-rw-r--r--converters/cn2jp/distinfo3
-rw-r--r--converters/cn2jp/patches/patch-ac14
3 files changed, 18 insertions, 3 deletions
diff --git a/converters/cn2jp/Makefile b/converters/cn2jp/Makefile
index 52346167a31..9b468c643f5 100644
--- a/converters/cn2jp/Makefile
+++ b/converters/cn2jp/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2005/05/22 20:07:44 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2006/01/11 16:02:24 joerg Exp $
DISTNAME= cn2jp1.4b
PKGNAME= cn2jp-1.4b
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= converters
MASTER_SITES= http://w3.sys.es.osaka-u.ac.jp/~seke/software/cn2jp/
diff --git a/converters/cn2jp/distinfo b/converters/cn2jp/distinfo
index d46808d6412..8e6cab83dda 100644
--- a/converters/cn2jp/distinfo
+++ b/converters/cn2jp/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.2 2005/02/23 16:12:33 agc Exp $
+$NetBSD: distinfo,v 1.3 2006/01/11 16:02:24 joerg Exp $
SHA1 (cn2jp1.4b.tar.gz) = 09cee0b189e5925a5378f1f817cc9593be899518
RMD160 (cn2jp1.4b.tar.gz) = 7697648e23586a0fba0d840ba57cf816c175ac10
Size (cn2jp1.4b.tar.gz) = 271660 bytes
SHA1 (patch-aa) = a1b67afbc36161b2731a938d81e19af2c9fba7dd
SHA1 (patch-ab) = a5a43c0dd84515a5c8b7d0cacc9a49b9b378a8e1
+SHA1 (patch-ac) = b601a2893b8a94374e4b4271be49f87ee244ae53
diff --git a/converters/cn2jp/patches/patch-ac b/converters/cn2jp/patches/patch-ac
new file mode 100644
index 00000000000..a4bc87c950f
--- /dev/null
+++ b/converters/cn2jp/patches/patch-ac
@@ -0,0 +1,14 @@
+$NetBSD: patch-ac,v 1.1 2006/01/11 16:02:24 joerg Exp $
+
+--- lib/hz2gb.c.orig 2006-01-10 13:14:27.000000000 +0000
++++ lib/hz2gb.c
+@@ -64,7 +64,8 @@ int verbose = FALSE; /* flag for verbose
+ 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
+
+ void usage(), filter(), EOFerror(), ESCerror(), GBerror(), GBerror1();
+ void GBtoSGB();