pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/inputmethod/kasumi Fix build with standard-compliant^W...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1b7d17c5366
branches:  trunk
changeset: 523779:c1b7d17c5366
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sat Jan 13 13:02:54 2007 +0000

description:
Fix build with standard-compliant^W^Wnon-NetBSD iconv.

diffstat:

 inputmethod/kasumi/distinfo         |   4 ++--
 inputmethod/kasumi/patches/patch-aa |  13 +++++++------
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (45 lines):

diff -r aecd75642d86 -r c1b7d17c5366 inputmethod/kasumi/distinfo
--- a/inputmethod/kasumi/distinfo       Sat Jan 13 12:36:28 2007 +0000
+++ b/inputmethod/kasumi/distinfo       Sat Jan 13 13:02:54 2007 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.2 2007/01/07 02:00:14 obache Exp $
+$NetBSD: distinfo,v 1.3 2007/01/13 13:02:54 joerg Exp $
 
 SHA1 (kasumi-1.0.1.tar.gz) = 8cd7d5d9b91875a7dea5450fcdfdcbabdd1d52ce
 RMD160 (kasumi-1.0.1.tar.gz) = 2c49afa2b6c0de63d303cefdfd71457c394cf950
 Size (kasumi-1.0.1.tar.gz) = 290336 bytes
-SHA1 (patch-aa) = b111c7f78982376c1422fd102505cc02b6033591
+SHA1 (patch-aa) = e7193e682109428908d7eab6c5182a20fefc3d1b
 SHA1 (patch-ab) = ec4e7923c447faa4f72b77ca9087d3e4777585e1
 SHA1 (patch-ac) = 151e00c3d326cd9c1778c5454baa700a5cf58a8c
diff -r aecd75642d86 -r c1b7d17c5366 inputmethod/kasumi/patches/patch-aa
--- a/inputmethod/kasumi/patches/patch-aa       Sat Jan 13 12:36:28 2007 +0000
+++ b/inputmethod/kasumi/patches/patch-aa       Sat Jan 13 13:02:54 2007 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-aa,v 1.1.1.1 2007/01/02 15:18:12 obache Exp $
+$NetBSD: patch-aa,v 1.2 2007/01/13 13:02:54 joerg Exp $
 
---- KasumiWord.cxx.orig        Mon Jan 10 20:30:37 2005
-+++ KasumiWord.cxx     Mon Jan 10 20:38:01 2005
-@@ -16,24 +16,27 @@
+--- KasumiWord.cxx.orig        2005-09-01 08:01:45.000000000 +0000
++++ KasumiWord.cxx
+@@ -17,24 +17,28 @@ iconv_t KasumiWord::IconvEUCJP_To_UTF8 =
  string KasumiWord::convertUTF8ToEUCJP(const string &aUTF8){
    char *utf8 = (char*)malloc(strlen(aUTF8.c_str())+1);
    strcpy(utf8, aUTF8.c_str());
-+  const char *ptr_utf8 = utf8;
++  ICONV_CONST char *ptr_utf8 = utf8;
    size_t len = strlen(utf8)+1;
    size_t len_eucjp = len*2;
    char *eucjp_buf = (char*)malloc(len_eucjp);
@@ -20,7 +20,8 @@
  string KasumiWord::convertEUCJPToUTF8(const string &aEUCJP){
    char *eucjp = (char*)malloc(strlen(aEUCJP.c_str())+1);
    strcpy(eucjp, aEUCJP.c_str());
-+  const char *ptr_eucjp = eucjp;
++  ICONV_CONST char *ptr_eucjp = eucjp;
++
    size_t len = strlen(eucjp)+1;
    size_t len_utf8 = len*2;
    char *utf8_buf = (char*)malloc(len_utf8);



Home | Main Index | Thread Index | Old Index