pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/kcc DISTFILE on ftp.sra.co.jp is newer than...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d5641548d17
branches:  trunk
changeset: 569066:9d5641548d17
user:      obache <obache%pkgsrc.org@localhost>
date:      Wed Jan 06 02:31:53 2010 +0000

description:
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:

 converters/kcc/Makefile         |   9 +++++----
 converters/kcc/distinfo         |  10 +++++-----
 converters/kcc/patches/patch-aa |  16 ++++++++++++----
 3 files changed, 22 insertions(+), 13 deletions(-)

diffs (70 lines):

diff -r bdca6570c347 -r 9d5641548d17 converters/kcc/Makefile
--- a/converters/kcc/Makefile   Wed Jan 06 01:35:17 2010 +0000
+++ b/converters/kcc/Makefile   Wed Jan 06 02:31:53 2010 +0000
@@ -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@localhost
 HOMEPAGE=      # empty
 COMMENT=       Kanji code converter with auto encoding detection
+LICENSE=       gnu-gpl-v2
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
diff -r bdca6570c347 -r 9d5641548d17 converters/kcc/distinfo
--- a/converters/kcc/distinfo   Wed Jan 06 01:35:17 2010 +0000
+++ b/converters/kcc/distinfo   Wed Jan 06 02:31:53 2010 +0000
@@ -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 -r bdca6570c347 -r 9d5641548d17 converters/kcc/patches/patch-aa
--- a/converters/kcc/patches/patch-aa   Wed Jan 06 01:35:17 2010 +0000
+++ b/converters/kcc/patches/patch-aa   Wed Jan 06 02:31:53 2010 +0000
@@ -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 @@
  
  /**********************************************************************
   *                                                                    *
-@@ -364,14 +368,26 @@ main(c, v)
+@@ -364,14 +369,26 @@ main(c, v)
      NAME
        error - print formatted error message on stderr and die
   ---------------------------------------------------------------------*/



Home | Main Index | Thread Index | Old Index