diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-10-27 15:25:11 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2004-10-27 15:25:11 +0000 |
commit | 8ff34739723cc4f1ebcbd0946f9c96a2a3f8175f (patch) | |
tree | a60a2fabc3f84abeea5fcdeddd68cc71a167861e /chinese/fcitx/files/patch-src-ui.c | |
parent | - Update to 1.47 (unbreaks fetching) (diff) |
Upgrade to 3.0.2.
PR: ports/73185
Submitted by: maintainer
Some part by: me
Notes
Notes:
svn path=/head/; revision=120318
Diffstat (limited to 'chinese/fcitx/files/patch-src-ui.c')
-rw-r--r-- | chinese/fcitx/files/patch-src-ui.c | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/chinese/fcitx/files/patch-src-ui.c b/chinese/fcitx/files/patch-src-ui.c new file mode 100644 index 000000000000..247443582304 --- /dev/null +++ b/chinese/fcitx/files/patch-src-ui.c @@ -0,0 +1,29 @@ +--- src/ui.c.orig Wed Oct 27 23:19:07 2004 ++++ src/ui.c Wed Oct 27 23:20:59 2004 +@@ -339,7 +339,7 @@ + l2 = 99; + ps = str1; + +- l1 = iconv (convUTF8, &str, &l1, &ps, &l2); ++ l1 = iconv (convUTF8, (const char**) &str, &l1, &ps, &l2); + *ps = '\0'; + XftTextExtentsUtf8 (dpy, font, (FcChar8*)str1, strlen (str1), &extents); + if ( font!=xftFont) +@@ -364,7 +364,7 @@ + ps2 = str2; + ps1 = str1; + +- l1 = iconv (convUTF8, &ps1, &l1, &ps2, &l2); ++ l1 = iconv (convUTF8, (const char**)&ps1, &l1, &ps2, &l2); + *ps2='\0'; + + XftTextExtentsUtf8 (dpy, font, (FcChar8 *)str2, strlen (str2), &extents); +@@ -418,7 +418,7 @@ + l2 = 99; + ps = strOutput; + +- l1 = iconv (convUTF8, (char **) (&str), &l1, &ps, &l2); ++ l1 = iconv (convUTF8, (const char **) (&str), &l1, &ps, &l2); + *ps='\0'; + + renderColor.red = color.red; |