summaryrefslogtreecommitdiffstats
path: root/libraries/webkit2gtk/icu4c-65.1.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/webkit2gtk/icu4c-65.1.patch')
-rw-r--r--libraries/webkit2gtk/icu4c-65.1.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/libraries/webkit2gtk/icu4c-65.1.patch b/libraries/webkit2gtk/icu4c-65.1.patch
new file mode 100644
index 0000000000..6521b43b1f
--- /dev/null
+++ b/libraries/webkit2gtk/icu4c-65.1.patch
@@ -0,0 +1,39 @@
+diff -Naur webkitgtk-2.26.2.orig/Source/WTF/wtf/URLHelpers.cpp webkitgtk-2.26.2/Source/WTF/wtf/URLHelpers.cpp
+--- webkitgtk-2.26.2.orig/Source/WTF/wtf/URLHelpers.cpp 2019-08-28 13:46:29.000000000 +0200
++++ webkitgtk-2.26.2/Source/WTF/wtf/URLHelpers.cpp 2019-12-31 21:19:42.507647551 +0100
+@@ -301,7 +301,7 @@
+ Optional<UChar32> previousCodePoint;
+ while (i < length) {
+ UChar32 c;
+- U16_NEXT(buffer, i, length, c)
++ U16_NEXT(buffer, i, length, c);
+ UErrorCode error = U_ZERO_ERROR;
+ UScriptCode script = uscript_getScript(c, &error);
+ if (error != U_ZERO_ERROR) {
+diff -Naur webkitgtk-2.26.2.orig/Source/WebCore/dom/Document.cpp webkitgtk-2.26.2/Source/WebCore/dom/Document.cpp
+--- webkitgtk-2.26.2.orig/Source/WebCore/dom/Document.cpp 2019-09-02 11:41:47.000000000 +0200
++++ webkitgtk-2.26.2/Source/WebCore/dom/Document.cpp 2019-12-31 21:20:34.734647551 +0100
+@@ -4944,12 +4944,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;
+ }
+@@ -5009,7 +5009,7 @@
+
+ for (unsigned i = 0; i < length; ) {
+ UChar32 c;
+- U16_NEXT(qualifiedName, i, length, c)
++ U16_NEXT(qualifiedName, i, length, c);
+ if (c == ':') {
+ if (sawColon)
+ return Exception { InvalidCharacterError };