Summary: | TextBreakIteratorICU.cpp is incompatible with new UBreakIterator type in ICU 4.4 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Jeff Kowalczyk <jtk> | ||||||
Component: | Text | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | darin, gnome, plaes, webkit.review.bot | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
URL: | http://bugs.gentoo.org/show_bug.cgi?id=308699 | ||||||||
Attachments: |
|
Description
Jeff Kowalczyk
2010-03-19 12:09:43 PDT
There's patch to fix this issue in FreeBSD port collection: http://www.freebsd.org/cgi/cvsweb.cgi/ports/www/webkit-gtk2/files/ Created attachment 51230 [details]
webkit-icu-4.4.patch
Attachment 51230 [details] did not pass style-queue:
Failed to run "WebKitTools/Scripts/check-webkit-style" exit_code: 1
WebCore/platform/text/TextBreakIterator.h:30: Code inside a namespace should not be indented. [whitespace/indent] [4]
WebCore/platform/text/TextBreakIterator.h:29: More than one command on the same line in if [whitespace/parens] [4]
Total errors found: 2 in 4 files
If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 51230 [details]
webkit-icu-4.4.patch
Fixing this should not require any changes to the header file. The changes should be inside TextBreakIteratorICU.cpp with no changes to header files.
Since ICU has changed the type UBreakIterator from a void to an actual type, the type casts involving UBreakIterator should now be reinterpret_cast rather than static_cast.
Created attachment 51233 [details]
Patch
(In reply to comment #5) > Created an attachment (id=51233) [details] > Patch Confirmed to be working with icu-4.4 :) Committed r56345: <http://trac.webkit.org/changeset/56345> |