summaryrefslogtreecommitdiff
path: root/pcr/phantomjs/icu65.patch
diff options
context:
space:
mode:
authoroaken-source <oaken-source@parabola.nu>2019-11-16 19:23:04 +0100
committeroaken-source <oaken-source@parabola.nu>2019-11-16 19:23:04 +0100
commitb39a37bac27bd816cdf0b1d574cf00073ded362a (patch)
tree17b9f658affe0ca4a361e29b2cec1cca1d774e25 /pcr/phantomjs/icu65.patch
parent093be93ae43c43afc479c34c9b51ccd1845c75d5 (diff)
downloadabslibre-b39a37bac27bd816cdf0b1d574cf00073ded362a.tar.gz
abslibre-b39a37bac27bd816cdf0b1d574cf00073ded362a.tar.bz2
abslibre-b39a37bac27bd816cdf0b1d574cf00073ded362a.zip
pcr/phantomjs: patched and rebuild for icu65
Diffstat (limited to 'pcr/phantomjs/icu65.patch')
-rw-r--r--pcr/phantomjs/icu65.patch73
1 files changed, 73 insertions, 0 deletions
diff --git a/pcr/phantomjs/icu65.patch b/pcr/phantomjs/icu65.patch
new file mode 100644
index 000000000..7fb02a9af
--- /dev/null
+++ b/pcr/phantomjs/icu65.patch
@@ -0,0 +1,73 @@
+--- qtwebkit-opensource-src-5.5.1/Source/WebCore/dom/Document.cpp 2019-11-16 16:07:23.611871473 +0100
++++ qtwebkit-opensource-src-5.5.1/Source/WebCore/dom/Document.cpp 2019-11-16 16:16:00.372740867 +0100
+@@ -3846,12 +3846,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;
+ }
+@@ -3914,7 +3914,7 @@ bool Document::parseQualifiedName(const
+ const UChar* s = qualifiedName.characters();
+ 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;
+--- qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/graphics/SegmentedFontData.cpp 2019-11-16 16:07:23.705204909 +0100
++++ qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/graphics/SegmentedFontData.cpp 2019-11-16 16:15:32.855982739 +0100
+@@ -61,7 +61,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;
+ }
+--- qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm 2019-11-16 16:07:23.738538279 +0100
++++ qtwebkit-opensource-src-5.5.1/Source/WebCore/platform/mac/WebCoreNSURLExtras.mm 2019-11-16 16:15:08.872567444 +0100
+@@ -175,7 +175,7 @@ static BOOL allCharactersInIDNScriptWhit
+ int32_t i = 0;
+ 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) {
+@@ -746,13 +746,13 @@ static CFStringRef createStringWithEscap
+ CFIndex i = 0;
+ while (i < length) {
+ UChar32 c;
+- U16_NEXT(sourceBuffer, i, length, c)
++ U16_NEXT(sourceBuffer, i, length, c);
+
+ if (isLookalikeCharacter(c)) {
+ uint8_t utf8Buffer[4];
+ CFIndex offset = 0;
+ UBool failure = false;
+- U8_APPEND(utf8Buffer, offset, 4, c, failure)
++ U8_APPEND(utf8Buffer, offset, 4, c, failure);
+ ASSERT(!failure);
+
+ for (CFIndex j = 0; j < offset; ++j) {
+@@ -764,7 +764,7 @@ static CFStringRef createStringWithEscap
+ UChar utf16Buffer[2];
+ CFIndex offset = 0;
+ UBool failure = false;
+- U16_APPEND(utf16Buffer, offset, 2, c, failure)
++ U16_APPEND(utf16Buffer, offset, 2, c, failure);
+ ASSERT(!failure);
+ for (CFIndex j = 0; j < offset; ++j)
+ outBuffer.append(utf16Buffer[j]);