File webkitgtk.patch of Package webkitgtk

--- a/Source/ThirdParty/ANGLE/src/compiler/glslang.y
+++ b/Source/ThirdParty/ANGLE/src/compiler/glslang.y
@@ -44,7 +44,7 @@ WHICH GENERATES THE GLSL ES PARSER (glsl
 %}
 
 %expect 1 /* One shift reduce conflict because of if | else */
-%pure-parser
+%define api.pure
 %parse-param {TParseContext* context}
 %locations
 %lex-param {YYLEX_PARAM}
--- a/Source/WebCore/css/CSSGrammar.y.in
+++ b/Source/WebCore/css/CSSGrammar.y.in
@@ -21,7 +21,7 @@
  *
  */
 
-%pure_parser
+%define api.pure
 
 %parse-param { CSSParser* parser }
 %lex-param { CSSParser* parser }
--- a/Source/WebCore/dom/Document.cpp
+++ b/Source/WebCore/dom/Document.cpp
@@ -3912,12 +3912,12 @@ static bool isValidNameNonASCII(const UC
     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
     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;
--- a/Source/WebCore/platform/graphics/SegmentedFontData.cpp
+++ b/Source/WebCore/platform/graphics/SegmentedFontData.cpp
@@ -27,6 +27,7 @@
 #include "SegmentedFontData.h"
 
 #include "SimpleFontData.h"
+#include <unicode/utf.h>
 #include <wtf/Assertions.h>
 #include <wtf/text/WTFString.h>
 
@@ -61,7 +62,7 @@ bool SegmentedFontData::containsCharacte
 {
     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/Source/WebCore/platform/text/TextBoundaries.cpp
+++ b/Source/WebCore/platform/text/TextBoundaries.cpp
@@ -28,6 +28,7 @@
 #include "TextBoundaries.h"
 
 #include "TextBreakIterator.h"
+#include <unicode/utf.h>
 #include <wtf/text/StringImpl.h>
 #include <wtf/unicode/Unicode.h>
 
--- a/Source/WebCore/platform/text/TextCodecLatin1.cpp
+++ b/Source/WebCore/platform/text/TextCodecLatin1.cpp
@@ -27,6 +27,7 @@
 #include "TextCodecLatin1.h"
 
 #include "TextCodecASCIIFastPath.h"
+#include <unicode/utf.h>
 #include <wtf/PassOwnPtr.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuffer.h>
--- a/Source/WebCore/platform/text/TextCodecUTF8.cpp
+++ b/Source/WebCore/platform/text/TextCodecUTF8.cpp
@@ -27,6 +27,7 @@
 #include "TextCodecUTF8.h"
 
 #include "TextCodecASCIIFastPath.h"
+#include <unicode/utf.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuffer.h>
 #include <wtf/unicode/CharacterNames.h>
--- a/Source/WebCore/platform/text/TextCodecUserDefined.cpp
+++ b/Source/WebCore/platform/text/TextCodecUserDefined.cpp
@@ -27,6 +27,7 @@
 #include "TextCodecUserDefined.h"
 
 #include <stdio.h>
+#include <unicode/utf.h>
 #include <wtf/PassOwnPtr.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringBuffer.h>
--- a/Source/WebCore/svg/SVGFontData.cpp
+++ b/Source/WebCore/svg/SVGFontData.cpp
@@ -33,6 +33,7 @@
 #include "TextRun.h"
 #include "WidthIterator.h"
 #include "XMLNames.h"
+#include <unicode/utf.h>
 #include <wtf/text/StringBuilder.h>
 #include <wtf/unicode/CharacterNames.h>
 #include <wtf/unicode/Unicode.h>
--- a/Source/WebCore/xml/XPathGrammar.y
+++ b/Source/WebCore/xml/XPathGrammar.y
@@ -47,7 +47,7 @@ using namespace XPath;
 
 %}
 
-%pure_parser
+%define api.pure
 %lex-param { parser }
 %parse-param { Parser& parser }
 
openSUSE Build Service is sponsored by