webkit2gtk3/gcc13-fix.patch
Bjørn Lie af7d090c42 Accepting request 1080941 from GNOME:Next
- Update to version 2.40.1 (boo#1210295):
  + The Bubblewrap sandbox no longer requires setting an
    application identifier via GApplication to operate correctly.
    Using GApplication is still recommended, but optional.
  + Adjust the scrolling speed for mouse wheels to make it feel
    more natural.
  + Allow pasting content using the Asynchronous Clipboard API when
    the origin is the same as the clipboard contents.
  + Improvements to the GStreamer multimedia playback, in
    particular around MSE, WebRTC, and seeking.
  + Make all supported image types appear in the Accept HTTP
    header.
  + Fix text caret blinking when blinking is disabled in the GTK
    settings.
  + Fix default database quota size definition.
  + Fix application of all caps tags listed in the
    font-feature-settings CSS property.
  + Fix the build with journald support enabled when using elogind
    instead of the systemd libraries.
  + Fix the build when libgcrypt provides a libgcrypt-config script
    instead of a pkg-config module file.
  + Fix font height calculations for the font-size-adjust CSS
    property.
  + Fix the build when ccache is used in certain setups.
  + Fix the build for RISC-V 64-bit targets.
  + Fix the build with GCC 13.
  + Fix several crashes and rendering issues.
  + Security fixes: CVE-2023-28205.
- Drop regression-fix.patch and fix-gst-crash.patch: fixed
    upstream.
- Rebase gcc13-fix.patch.

OBS-URL: https://build.opensuse.org/request/show/1080941
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/webkit2gtk3?expand=0&rev=398
2023-04-21 07:15:08 +00:00

19 lines
1019 B
Diff

diff -urp webkitgtk-2.40.1.orig/Source/WebCore/platform/graphics/SourceBrush.cpp webkitgtk-2.40.1/Source/WebCore/platform/graphics/SourceBrush.cpp
--- webkitgtk-2.40.1.orig/Source/WebCore/platform/graphics/SourceBrush.cpp 2023-04-12 08:07:29.748326800 -0500
+++ webkitgtk-2.40.1/Source/WebCore/platform/graphics/SourceBrush.cpp 2023-04-20 11:31:00.456319923 -0500
@@ -65,12 +65,12 @@ Pattern* SourceBrush::pattern() const
void SourceBrush::setGradient(Ref<Gradient>&& gradient, const AffineTransform& spaceTransform)
{
- m_brush = { Brush::LogicalGradient { WTFMove(gradient), spaceTransform } };
+ m_brush = Brush { Brush::LogicalGradient { { WTFMove(gradient) }, spaceTransform } };
}
void SourceBrush::setPattern(Ref<Pattern>&& pattern)
{
- m_brush = { Brush::Variant { std::in_place_type<Ref<Pattern>>, WTFMove(pattern) } };
+ m_brush = Brush { Brush::Variant { std::in_place_type<Ref<Pattern>>, WTFMove(pattern) } };
}
WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush)