From c6c58d14b427693f07d8d3d29ff2d5e596e9b94f Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 10 Apr 2021 13:49:35 +0300 Subject: webkit2gtk: bump to 2.32.0 --- extra/webkit2gtk/patches/icu-69.patch | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 extra/webkit2gtk/patches/icu-69.patch (limited to 'extra/webkit2gtk/patches') 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>::create(string.charactersWithoutNullTermination()); + + UErrorCode status = U_ZERO_ERROR; +- auto segmenter = std::unique_ptr(ubrk_safeClone(m_segmenter.get(), nullptr, nullptr, &status)); ++ auto segmenter = std::unique_ptr(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(ubrk_safeClone(m_segmenter.get(), nullptr, nullptr, &status)); ++ auto segmenter = std::unique_ptr(ubrk_clone(m_segmenter.get(), &status)); + if (U_FAILURE(status)) { + throwTypeError(globalObject, scope, "failed to initialize SegmentIterator"_s); + return nullptr; -- cgit v1.2.3