File phantomjs-2.1.1-qt5-webkit-icu65.patch of Package phantomjs
--- a/src/qt/qtwebkit/Source/WebCore/platform/graphics/SegmentedFontData.cpp
+++ b/src/qt/qtwebkit/Source/WebCore/platform/graphics/SegmentedFontData.cpp
@@ -61,7 +61,7 @@
{
UChar32 c;
for (int i = 0; i < length; ) {
- U16_NEXT(characters, i, length, c)
+ U16_NEXT(characters, i, length, c);
if (!containsCharacter(c))
return false;
}
--- a/src/qt/qtwebkit/Source/WebCore/dom/Document.cpp
+++ b/src/qt/qtwebkit/Source/WebCore/dom/Document.cpp
@@ -3846,12 +3846,12 @@
unsigned i = 0;
UChar32 c;
- U16_NEXT(characters, i, length, c)
+ U16_NEXT(characters, i, length, c);
if (!isValidNameStart(c))
return false;
while (i < length) {
- U16_NEXT(characters, i, length, c)
+ U16_NEXT(characters, i, length, c);
if (!isValidNamePart(c))
return false;
}
@@ -3914,7 +3914,7 @@
const UChar* s = qualifiedName.characters();
for (unsigned i = 0; i < length;) {
UChar32 c;
- U16_NEXT(s, i, length, c)
+ U16_NEXT(s, i, length, c);
if (c == ':') {
if (sawColon) {
ec = NAMESPACE_ERR;