[79035] trunk/dports/textproc/nkf
takanori at macports.org
takanori at macports.org
Mon May 30 16:58:22 PDT 2011
Revision: 79035
http://trac.macports.org/changeset/79035
Author: takanori at macports.org
Date: 2011-05-30 16:58:22 -0700 (Mon, 30 May 2011)
Log Message:
-----------
nkf: version 2.1.1 (2011-03-25)
- Fix type for character value.
Modified Paths:
--------------
trunk/dports/textproc/nkf/Portfile
Added Paths:
-----------
trunk/dports/textproc/nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch
Modified: trunk/dports/textproc/nkf/Portfile
===================================================================
--- trunk/dports/textproc/nkf/Portfile 2011-05-30 23:45:51 UTC (rev 79034)
+++ trunk/dports/textproc/nkf/Portfile 2011-05-30 23:58:22 UTC (rev 79035)
@@ -5,7 +5,7 @@
name nkf
version 2.1.1
-revision 2
+revision 3
categories textproc japanese
maintainers takanori openmaintainer
description Network Kanji code conversion Filter
@@ -14,11 +14,13 @@
terminals. It converts input kanji code to designated kanji code such \
as 7-bit JIS, MS-kanji (shifted-JIS), utf-8 or EUC.
platforms darwin
+license zlib/libpng
homepage http://sourceforge.jp/projects/nkf/
master_sites sourceforge_jp:${name}/48945/
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
patch.pre_args -p1
Added: trunk/dports/textproc/nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch
===================================================================
--- trunk/dports/textproc/nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch (rev 0)
+++ trunk/dports/textproc/nkf/files/nkf.git-7f18e3086e219cc8a3639ebc7b0e4192001d3174.patch 2011-05-30 23:58:22 UTC (rev 79035)
@@ -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/2b428117/attachment.html>
More information about the macports-changes
mailing list