http://bugs.winehq.org/show_bug.cgi?id=5764
--- Comment #24 from Sean D. Condon pandora_xero@comcast.net 2009-06-02 20:52:20 --- Created an attachment (id=21509) --> (http://bugs.winehq.org/attachment.cgi?id=21509) Wine imm.c sanity patch
This is the patch to imm32.dll.so / imm.c. ...it is a sanity check. its function is only to make sure a valid value is passed to ImmSetCompositionString[AW]
This patch is almost a year old, and was NOT originally written by me. It was written by Jason Borden, he deserves credit for it.
you can add this to a gentoo ebuild by opening it up, going to the src_prepare section and adding "epatch /usr/portage/distfiles/wine-imm32.patch" (sans quotation marks), then running "ebuild /usr/portage/app-emulation/wine/wine-${VERSION}.ebuild digest" the file will need to be dropped in /u/p/di/
Application of this patch will resolve this bug.