]> git.pld-linux.org Git - packages/gtk-webkit4.git/blob - gtk-webkit4-icu65.patch
attempt to fix build against icu 65; rel 2
[packages/gtk-webkit4.git] / gtk-webkit4-icu65.patch
1 diff -urN webkitgtk-2.26.1.orig/Source/WebCore/dom/Document.cpp webkitgtk-2.26.1/Source/WebCore/dom/Document.cpp
2 --- webkitgtk-2.26.1.orig/Source/WebCore/dom/Document.cpp       2019-09-02 11:41:47.000000000 +0200
3 +++ webkitgtk-2.26.1/Source/WebCore/dom/Document.cpp    2019-10-08 16:24:57.649551493 +0200
4 @@ -4944,12 +4944,12 @@
5      unsigned i = 0;
6  
7      UChar32 c;
8 -    U16_NEXT(characters, i, length, c)
9 +    U16_NEXT(characters, i, length, c);
10      if (!isValidNameStart(c))
11          return false;
12  
13      while (i < length) {
14 -        U16_NEXT(characters, i, length, c)
15 +        U16_NEXT(characters, i, length, c);
16          if (!isValidNamePart(c))
17              return false;
18      }
19 @@ -5009,7 +5009,7 @@
20  
21      for (unsigned i = 0; i < length; ) {
22          UChar32 c;
23 -        U16_NEXT(qualifiedName, i, length, c)
24 +        U16_NEXT(qualifiedName, i, length, c);
25          if (c == ':') {
26              if (sawColon)
27                  return Exception { InvalidCharacterError };
28 diff -urN webkitgtk-2.26.1.orig/Source/WTF/wtf/URLHelpers.cpp webkitgtk-2.26.1/Source/WTF/wtf/URLHelpers.cpp
29 --- webkitgtk-2.26.1.orig/Source/WTF/wtf/URLHelpers.cpp 2019-08-28 13:46:29.000000000 +0200
30 +++ webkitgtk-2.26.1/Source/WTF/wtf/URLHelpers.cpp      2019-10-08 16:24:50.619850993 +0200
31 @@ -301,7 +301,7 @@
32      Optional<UChar32> previousCodePoint;
33      while (i < length) {
34          UChar32 c;
35 -        U16_NEXT(buffer, i, length, c)
36 +        U16_NEXT(buffer, i, length, c);
37          UErrorCode error = U_ZERO_ERROR;
38          UScriptCode script = uscript_getScript(c, &error);
39          if (error != U_ZERO_ERROR) {
This page took 0.100519 seconds and 3 git commands to generate.