summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-01-06 02:31:53 +0000
committerobache <obache@pkgsrc.org>2010-01-06 02:31:53 +0000
commit50bff491ed1d379871122c5dbaad7c14d1884a91 (patch)
tree2cb396a372a8ee4022de41eab366415b7bedf280 /converters
parent1839dc7f3be129959813ee1249e4003c7db5672d (diff)
downloadpkgsrc-50bff491ed1d379871122c5dbaad7c14d1884a91.tar.gz
DISTFILE on ftp.sra.co.jp is newer than on ${MASTER_SITE_FREEBSD},
so change MASTER_SITES to only ftp.sra.co.jp and force to use newer one. As sccsid in source, ${MASTE_SITE_FREEBSD}'s one is 2.2, and sra's one is 2.3, so bump PKGVERSION to 2.3. This issue noticed by taca@ by private mail. While here, set LICENSE=gnu-gpl-v2, modify pach-aa to suppress some warings by addition of include stdlib.h.
Diffstat (limited to 'converters')
-rw-r--r--converters/kcc/Makefile9
-rw-r--r--converters/kcc/distinfo10
-rw-r--r--converters/kcc/patches/patch-aa16
3 files changed, 22 insertions, 13 deletions
diff --git a/converters/kcc/Makefile b/converters/kcc/Makefile
index f843e5c1d64..930d72697f0 100644
--- a/converters/kcc/Makefile
+++ b/converters/kcc/Makefile
@@ -1,14 +1,15 @@
-# $NetBSD: Makefile,v 1.4 2008/01/21 03:04:30 obache Exp $
+# $NetBSD: Makefile,v 1.5 2010/01/06 02:31:53 obache Exp $
DISTNAME= kcc
-PKGNAME= kcc-1.0
+PKGNAME= kcc-2.3
CATEGORIES= japanese converters
-MASTER_SITES= ${MASTER_SITE_FREEBSD} \
- ftp://ftp.sra.co.jp/pub/os/linux/JE/sources/base/
+MASTER_SITES= ftp://ftp.sra.co.jp/pub/os/linux/JE/sources/base/
+DIST_SUBDIR= ${PKGNAME_NOREV}
MAINTAINER= obache@NetBSD.org
HOMEPAGE= # empty
COMMENT= Kanji code converter with auto encoding detection
+LICENSE= gnu-gpl-v2
PKG_DESTDIR_SUPPORT= user-destdir
diff --git a/converters/kcc/distinfo b/converters/kcc/distinfo
index 8e94e6275b2..0c2d810a799 100644
--- a/converters/kcc/distinfo
+++ b/converters/kcc/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/02/11 16:49:04 rillig Exp $
+$NetBSD: distinfo,v 1.2 2010/01/06 02:31:53 obache Exp $
-SHA1 (kcc.tar.gz) = 1ecb051b48c5f3e0e5c055dd34eee89c252cf176
-RMD160 (kcc.tar.gz) = e75c0e13bc4bd435c18a2bb690c24188e34610b1
-Size (kcc.tar.gz) = 18869 bytes
-SHA1 (patch-aa) = 648888b03277eb9361c10b614bce049c8d6df38b
+SHA1 (kcc-2.3/kcc.tar.gz) = 3bf36115891b18b2f34e7cd01770cf9937cf57f0
+RMD160 (kcc-2.3/kcc.tar.gz) = d9dd9a1f80fb0e47f1159bdd98c2dc931314b419
+Size (kcc-2.3/kcc.tar.gz) = 18937 bytes
+SHA1 (patch-aa) = 1b3aff164bfe9a970750849ba8162242a82ed4d3
diff --git a/converters/kcc/patches/patch-aa b/converters/kcc/patches/patch-aa
index 457aa1049e2..e5570d13913 100644
--- a/converters/kcc/patches/patch-aa
+++ b/converters/kcc/patches/patch-aa
@@ -1,8 +1,16 @@
-$NetBSD: patch-aa,v 1.1.1.1 2006/02/11 16:49:04 rillig Exp $
+$NetBSD: patch-aa,v 1.2 2010/01/06 02:31:53 obache Exp $
---- kcc.c.orig 1994-03-28 20:00:12.000000000 +0900
+--- kcc.c.orig 1994-07-01 05:47:48.000000000 +0000
+++ kcc.c
-@@ -134,7 +134,11 @@ extern unsigned short katakana[];
+@@ -27,6 +27,7 @@ static char copyright[] = "@(#)Copyright
+ #endif
+
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <string.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+@@ -134,7 +135,11 @@ extern unsigned short katakana[];
extern unsigned short hiragana[];
unsigned short *kanatbl = katakana;
@@ -14,7 +22,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2006/02/11 16:49:04 rillig Exp $
/**********************************************************************
* *
-@@ -364,14 +368,26 @@ main(c, v)
+@@ -364,14 +369,26 @@ main(c, v)
NAME
error - print formatted error message on stderr and die
---------------------------------------------------------------------*/