diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-03-30 22:03:23 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-03-30 22:03:23 +0100 |
commit | ed6e9ebb6ab4abd792d5b15e97ec245603dd6e2d (patch) | |
tree | e1f5f93f2986a4038351e6cf4804eb0c2aad060d /net-libs/webkit-gtk/files | |
parent | 8b63b46fda85d54cfbe94df2444a3ddd3e63b8e4 (diff) |
gentoo auto-resync : 30:03:2023 - 22:03:23
Diffstat (limited to 'net-libs/webkit-gtk/files')
-rw-r--r-- | net-libs/webkit-gtk/files/2.38.5-gcc-13.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-libs/webkit-gtk/files/2.38.5-gcc-13.patch b/net-libs/webkit-gtk/files/2.38.5-gcc-13.patch new file mode 100644 index 000000000000..461e7a41afe5 --- /dev/null +++ b/net-libs/webkit-gtk/files/2.38.5-gcc-13.patch @@ -0,0 +1,30 @@ +https://bugs.gentoo.org/903554 +https://github.com/WebKit/WebKit/pull/11910 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247 +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109307 + +From 0aa2fbaeb7cd103cda9907f8fa2248cd2209b22f Mon Sep 17 00:00:00 2001 +From: Martin Liska <mliska@suse.cz> +Date: Fri, 24 Mar 2023 10:11:51 +0100 +Subject: [PATCH] gcc13: fix rejected code by using of an explicit ctor + +The following code is invalid based on the analysis here: +https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109247#c5 +--- 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 = { WTFMove(pattern) }; ++ m_brush = Brush { WTFMove(pattern) }; + } + + WTF::TextStream& operator<<(TextStream& ts, const SourceBrush& brush) + |