[79036] trunk/dports/perl/p5-nkf

takanori at macports.org takanori at macports.org
Mon May 30 16:58:53 PDT 2011


Revision: 79036
          http://trac.macports.org/changeset/79036
Author:   takanori at macports.org
Date:     2011-05-30 16:58:53 -0700 (Mon, 30 May 2011)
Log Message:
-----------
p5-nkf: version 2.1.1 (2011-03-25)
- Fix type for character value.

Modified Paths:
--------------
    trunk/dports/perl/p5-nkf/Portfile

Added Paths:
-----------
    trunk/dports/perl/p5-nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch

Modified: trunk/dports/perl/p5-nkf/Portfile
===================================================================
--- trunk/dports/perl/p5-nkf/Portfile	2011-05-30 23:58:22 UTC (rev 79035)
+++ trunk/dports/perl/p5-nkf/Portfile	2011-05-30 23:58:53 UTC (rev 79036)
@@ -5,7 +5,7 @@
 
 set nkf_ver     2.1.1
 perl5.setup     NKF [string range ${nkf_ver} 0 2][string range ${nkf_ver} 4 end]
-revision        2
+revision        3
 categories-append \
                 textproc japanese
 maintainers     nifty.com:pelopor takanori openmaintainer
@@ -13,6 +13,7 @@
 long_description \
                 ${description}
 platforms       darwin
+license         zlib/libpng
 homepage        http://sourceforge.jp/projects/nkf/
 master_sites    sourceforge_jp:nkf/48945/
 distname        nkf-${nkf_ver}
@@ -20,7 +21,8 @@
 distfiles       [suffix ${distname}]:nkf
 patchfiles      nkf.git-bbb280a04623e073e447add83c6c9a5309c30fd2.patch \
                 nkf.git-d2f185cc2134b370b49b7a52a5e81b9671ecc43e.patch \
-                nkf.git-fbbf52db285384e4938bbe7862cae1df80482960_2.patch
+                nkf.git-fbbf52db285384e4938bbe7862cae1df80482960_2.patch \
+                nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch
 checksums       rmd160  06e0dbda6e90502ab4bafe4d44a9d05beed248c5
 
 worksrcdir  ${distname}/NKF.mod

Added: trunk/dports/perl/p5-nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch
===================================================================
--- trunk/dports/perl/p5-nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch	                        (rev 0)
+++ trunk/dports/perl/p5-nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch	2011-05-30 23:58:53 UTC (rev 79036)
@@ -0,0 +1,30 @@
+From: NARUSE, Yui <naruse at users.sourceforge.jp>
+Date: Fri, 25 Mar 2011 03:09:59 +0000 (+0900)
+Subject: Fix type for character value.
+X-Git-Url: http://git.sourceforge.jp/view?p=nkf%2Fnkf.git;a=commitdiff_plain;h=7f18e3086e219cc8a3639ebc7b0e4192001d3174
+
+Fix type for character value.
+---
+
+diff --git a/nkf.c b/nkf.c
+index 6b944e1..28e164a 100644
+--- a/nkf.c
++++ b/nkf.c
+@@ -21,7 +21,7 @@
+  * 3. This notice may not be removed or altered from any source distribution.
+  */
+ #define NKF_VERSION "2.1.1"
+-#define NKF_RELEASE_DATE "2010-08-08"
++#define NKF_RELEASE_DATE "2011-03-25"
+ #define COPY_RIGHT \
+     "Copyright (C) 1987, FUJITSU LTD. (I.Ichikawa).\n" \
+     "Copyright (C) 1996-2010, The nkf Project."
+@@ -4259,7 +4259,7 @@ numchar_getc(FILE *f)
+     nkf_char (*u)(nkf_char c ,FILE *f) = i_nungetc;
+     int i = 0, j;
+     nkf_char buf[12];
+-    long c = -1;
++    nkf_char c = -1;
+ 
+     buf[i] = (*g)(f);
+     if (buf[i] == '&'){
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110530/f398aa03/attachment.html>


More information about the macports-changes mailing list