summaryrefslogtreecommitdiff
path: root/net-libs/webkit-gtk/files/2.40.1-gcc-13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/webkit-gtk/files/2.40.1-gcc-13.patch')
-rw-r--r--net-libs/webkit-gtk/files/2.40.1-gcc-13.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/2.40.1-gcc-13.patch b/net-libs/webkit-gtk/files/2.40.1-gcc-13.patch
new file mode 100644
index 000000000000..6a532924121b
--- /dev/null
+++ b/net-libs/webkit-gtk/files/2.40.1-gcc-13.patch
@@ -0,0 +1,21 @@
+https://github.com/WebKit/WebKit/pull/11910
+https://github.com/WebKit/WebKit/commit/93920b55f52ff8b883296f4845269e2ed746acb3
+
+--- a/Source/WebCore/platform/graphics/SourceBrush.cpp
++++ b/Source/WebCore/platform/graphics/SourceBrush.cpp
+@@ -65,12 +65,12 @@
+
+ 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)
+