summaryrefslogtreecommitdiff
path: root/net-libs/webkit-gtk/files/webkit-gtk-random-compilation-failures.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/webkit-gtk/files/webkit-gtk-random-compilation-failures.patch')
-rw-r--r--net-libs/webkit-gtk/files/webkit-gtk-random-compilation-failures.patch41
1 files changed, 41 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/webkit-gtk-random-compilation-failures.patch b/net-libs/webkit-gtk/files/webkit-gtk-random-compilation-failures.patch
new file mode 100644
index 0000000..c552770
--- /dev/null
+++ b/net-libs/webkit-gtk/files/webkit-gtk-random-compilation-failures.patch
@@ -0,0 +1,41 @@
+diff --git i/Source/WebCore/platform/graphics/SegmentedFontData.cpp w/Source/WebCore/platform/graphics/SegmentedFontData.cpp
+index efb20a8..f0812e0 100644
+--- i/Source/WebCore/platform/graphics/SegmentedFontData.cpp
++++ w/Source/WebCore/platform/graphics/SegmentedFontData.cpp
+@@ -61,7 +61,7 @@ bool SegmentedFontData::containsCharacters(const UChar* characters, int length)
+ {
+ 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;
+ }
+diff --git i/Source/WebCore/dom/Document.cpp w/Source/WebCore/dom/Document.cpp
+index 1e677dc9..49fc03f0 100644
+--- i/Source/WebCore/dom/Document.cpp
++++ w/Source/WebCore/dom/Document.cpp
+@@ -3912,12 +3912,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length)
+ 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;
+ }
+@@ -3980,7 +3980,7 @@ bool Document::parseQualifiedName(const String& qualifiedName, String& prefix, S
+ const UChar* s = qualifiedName.deprecatedCharacters();
+ 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;