]> git.pld-linux.org Git - packages/qt5-qtwebkit.git/blob - icu65.patch
adjusted upstream patch to fix build with icu 65
[packages/qt5-qtwebkit.git] / icu65.patch
1 ------------------------------------------------------------------------
2 r250747 | commit-queue@webkit.org | 2019-10-04 23:51:37 +0200 (pią, 04 paź 2019) | 16 lines
3
4 Fix build with icu 65.1
5 https://bugs.webkit.org/show_bug.cgi?id=202600
6
7 Patch by Heiko Becker <heirecka@exherbo.org> on 2019-10-04
8 Reviewed by Konstantin Tokarev.
9
10 Source/WebCore:
11
12 * dom/Document.cpp:
13 (WebCore::isValidNameNonASCII):
14 (WebCore::Document::parseQualifiedName):
15
16 Source/WTF:
17
18 * wtf/URLHelpers.cpp:
19 (WTF::URLHelpers::allCharactersInIDNScriptWhiteList):
20
21 Index: Source/WebCore/dom/Document.cpp
22 ===================================================================
23 --- Source/WebCore/dom/Document.cpp     (revision 250746)
24 +++ Source/WebCore/dom/Document.cpp     (revision 250747)
25 @@ -4954,12 +4954,12 @@
26      unsigned i = 0;
27  
28      UChar32 c;
29 -    U16_NEXT(characters, i, length, c)
30 +    U16_NEXT(characters, i, length, c);
31      if (!isValidNameStart(c))
32          return false;
33  
34      while (i < length) {
35 -        U16_NEXT(characters, i, length, c)
36 +        U16_NEXT(characters, i, length, c);
37          if (!isValidNamePart(c))
38              return false;
39      }
40 @@ -5019,7 +5019,7 @@
41  
42      for (unsigned i = 0; i < length; ) {
43          UChar32 c;
44 -        U16_NEXT(qualifiedName, i, length, c)
45 +        U16_NEXT(qualifiedName, i, length, c);
46          if (c == ':') {
47              if (sawColon)
48                  return Exception { InvalidCharacterError };
49
50 ------------------------------------------------------------------------
This page took 0.03526 seconds and 3 git commands to generate.