diff options
author | Cem Keylan <cem@ckyln.com> | 2021-04-10 13:49:35 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-04-10 13:49:35 +0300 |
commit | c6c58d14b427693f07d8d3d29ff2d5e596e9b94f (patch) | |
tree | b3d576b195399267b7522e99cecfff72c526d981 /extra/webkit2gtk/patches | |
parent | 7332985d0454453ba3ee383b596507147360e2ba (diff) | |
download | repository-c6c58d14b427693f07d8d3d29ff2d5e596e9b94f.tar.gz |
webkit2gtk: bump to 2.32.0
Diffstat (limited to 'extra/webkit2gtk/patches')
-rw-r--r-- | extra/webkit2gtk/patches/icu-69.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/webkit2gtk/patches/icu-69.patch b/extra/webkit2gtk/patches/icu-69.patch new file mode 100644 index 00000000..b7950710 --- /dev/null +++ b/extra/webkit2gtk/patches/icu-69.patch @@ -0,0 +1,24 @@ +diff -r -u webkit2gtk-orig/Source/JavaScriptCore/runtime/IntlSegmenter.cpp webkit2gtk/Source/JavaScriptCore/runtime/IntlSegmenter.cpp +--- webkit2gtk-orig/Source/JavaScriptCore/runtime/IntlSegmenter.cpp 2021-04-10 10:50:56.502202802 +0300 ++++ webkit2gtk/Source/JavaScriptCore/runtime/IntlSegmenter.cpp 2021-04-10 10:51:31.100166211 +0300 +@@ -125,7 +125,7 @@ + auto upconvertedCharacters = Box<Vector<UChar>>::create(string.charactersWithoutNullTermination()); + + UErrorCode status = U_ZERO_ERROR; +- auto segmenter = std::unique_ptr<UBreakIterator, UBreakIteratorDeleter>(ubrk_safeClone(m_segmenter.get(), nullptr, nullptr, &status)); ++ auto segmenter = std::unique_ptr<UBreakIterator, UBreakIteratorDeleter>(ubrk_clone(m_segmenter.get(), &status)); + if (U_FAILURE(status)) { + throwTypeError(globalObject, scope, "failed to initialize Segments"_s); + return { }; +diff -r -u webkit2gtk-orig/Source/JavaScriptCore/runtime/IntlSegments.cpp webkit2gtk/Source/JavaScriptCore/runtime/IntlSegments.cpp +--- webkit2gtk-orig/Source/JavaScriptCore/runtime/IntlSegments.cpp 2021-04-10 10:50:56.499202805 +0300 ++++ webkit2gtk/Source/JavaScriptCore/runtime/IntlSegments.cpp 2021-04-10 10:51:55.974141629 +0300 +@@ -100,7 +100,7 @@ + auto scope = DECLARE_THROW_SCOPE(vm); + + UErrorCode status = U_ZERO_ERROR; +- auto segmenter = std::unique_ptr<UBreakIterator, UBreakIteratorDeleter>(ubrk_safeClone(m_segmenter.get(), nullptr, nullptr, &status)); ++ auto segmenter = std::unique_ptr<UBreakIterator, UBreakIteratorDeleter>(ubrk_clone(m_segmenter.get(), &status)); + if (U_FAILURE(status)) { + throwTypeError(globalObject, scope, "failed to initialize SegmentIterator"_s); + return nullptr; |