summaryrefslogtreecommitdiff
path: root/www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2019-10-03 20:35:29 +0000
committerJan Beich <jbeich@FreeBSD.org>2019-10-03 20:35:29 +0000
commit4bbb4133b2730df60a15c7e7fb495841ffdb32c4 (patch)
treeb325616b604b3f18f851e5b3104e0289676790a9 /www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp
parentAdd 13, force 9/10 -> 11 (diff)
devel/icu: update to 65.1
Changes: http://site.icu-project.org/download/65 ABI: https://abi-laboratory.pro/tracker/timeline/icu4c/
Diffstat (limited to 'www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp')
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp b/www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp
new file mode 100644
index 000000000000..ae3e8ffa3d1d
--- /dev/null
+++ b/www/webkit2-gtk3/files/patch-Source_WTF_wtf_URLHelpers.cpp
@@ -0,0 +1,24 @@
+Regressed by https://github.com/unicode-org/icu/commit/480bec3ea652
+
+Source/WTF/wtf/URLHelpers.cpp:301:39: error: expected ';' after do/while statement
+ U16_NEXT(buffer, i, length, c)
+ ^
+ ;
+Source/WTF/wtf/URLHelpers.cpp:303:52: error: use of undeclared identifier 'error'
+ UScriptCode script = uscript_getScript(c, &error);
+ ^
+Source/WTF/wtf/URLHelpers.cpp:304:13: error: use of undeclared identifier 'error'
+ if (error != U_ZERO_ERROR) {
+ ^
+
+--- Source/WTF/wtf/URLHelpers.cpp.orig 2019-08-26 14:55:44 UTC
++++ Source/WTF/wtf/URLHelpers.cpp
+@@ -298,7 +298,7 @@ static bool allCharactersInIDNScriptWhiteList(const UC
+ 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) {