Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package webkit2gtk3 for openSUSE:Factory 
checked in at 2022-04-04 19:25:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/webkit2gtk3 (Old)
 and      /work/SRC/openSUSE:Factory/.webkit2gtk3.new.1900 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "webkit2gtk3"

Mon Apr  4 19:25:49 2022 rev:140 rq:966180 version:2.36.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/webkit2gtk3/webkit2gtk3.changes  2022-03-23 
20:18:38.866471905 +0100
+++ /work/SRC/openSUSE:Factory/.webkit2gtk3.new.1900/webkit2gtk3.changes        
2022-04-04 19:25:52.144897305 +0200
@@ -1,0 +2,11 @@
+Wed Mar 30 18:04:39 UTC 2022 - Michael Gorse <mgo...@suse.com>
+
+- Add webkit2gtk3-gcc12.patch: fix the build with gcc 12.
+
+-------------------------------------------------------------------
+Tue Mar 29 11:48:56 UTC 2022 - Bj??rn Lie <bjorn....@gmail.com>
+
+- Disabled usage of gold linker for all targets via existing
+  define.
+
+-------------------------------------------------------------------

New:
----
  webkit2gtk3-gcc12.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ webkit2gtk3.spec ++++++
--- /var/tmp/diff_new_pack.BlGpDd/_old  2022-04-04 19:25:52.812889646 +0200
+++ /var/tmp/diff_new_pack.BlGpDd/_new  2022-04-04 19:25:52.816889600 +0200
@@ -70,7 +70,7 @@
 %endif
 
 # gold linker not available on old s390/s390x
-%define _gold_linker 1
+%define _gold_linker 0
 %ifarch ppc ppc64le s390
 %define _gold_linker 0
 %endif
@@ -88,6 +88,8 @@
 
 # PATCH-FIX-OPENSUSE no-forced-sse.patch jeng...@iani.de -- cure execution of 
illegal instruction in i586 webkit
 Patch0:         no-forced-sse.patch
+# PATCH-FIX-UPSTREAM webkit2gtk3-gcc12.patch boo#1197584 webkit#238482 
mgo...@suse.com -- fix the build with gcc 12.
+Patch1:         webkit2gtk3-gcc12.patch
 
 BuildRequires:  Mesa-libEGL-devel
 BuildRequires:  Mesa-libGL-devel

++++++ webkit2gtk3-gcc12.patch ++++++
>From 0a17a235d9f56d9107a3e87a42bdcff4c43806a7 Mon Sep 17 00:00:00 2001
From: Mike Gorse <mgo...@suse.com>
Date: Wed, 30 Mar 2022 13:07:47 -0500
Subject: [PATCH] Add default constructors needed to build with gcc 12

---
 Source/JavaScriptCore/ChangeLog                   | 11 +++++++++++
 Source/JavaScriptCore/runtime/SamplingProfiler.h  | 15 +++++++++++----
 Source/WebCore/ChangeLog                          | 10 ++++++++++
 .../platform/graphics/ColorInterpolationMethod.h  | 10 +++++++++-
 4 files changed, 41 insertions(+), 5 deletions(-)

diff --git a/Source/JavaScriptCore/runtime/SamplingProfiler.h 
b/Source/JavaScriptCore/runtime/SamplingProfiler.h
index 64415967ab7f..87ecbb4e7bd0 100644
--- a/Source/JavaScriptCore/runtime/SamplingProfiler.h
+++ b/Source/JavaScriptCore/runtime/SamplingProfiler.h
@@ -106,6 +106,13 @@ public:
         BytecodeIndex wasmOffset;
 
         struct CodeLocation {
+            CodeLocation()
+            : lineNumber { std::numeric_limits<unsigned>::max() },
+              columnNumber { std::numeric_limits<unsigned>::max() },
+              jitType { JITType::None },
+              isRegExp { false }
+            { }
+
             bool hasCodeBlockHash() const
             {
                 return codeBlockHash.isSet();
@@ -123,12 +130,12 @@ public:
             }
 
             // These attempt to be expression-level line and column number.
-            unsigned lineNumber { std::numeric_limits<unsigned>::max() };
-            unsigned columnNumber { std::numeric_limits<unsigned>::max() };
+            unsigned lineNumber;
+            unsigned columnNumber;
             BytecodeIndex bytecodeIndex;
             CodeBlockHash codeBlockHash;
-            JITType jitType { JITType::None };
-            bool isRegExp { false };
+            JITType jitType;
+            bool isRegExp;
         };
 
         CodeLocation semanticLocation;
diff --git a/Source/WebCore/platform/graphics/ColorInterpolationMethod.h 
b/Source/WebCore/platform/graphics/ColorInterpolationMethod.h
index ee6cba0d1d3a..990251d82a23 100644
--- a/Source/WebCore/platform/graphics/ColorInterpolationMethod.h
+++ b/Source/WebCore/platform/graphics/ColorInterpolationMethod.h
@@ -57,9 +57,17 @@ enum class ColorInterpolationColorSpace : uint8_t {
     
 struct ColorInterpolationMethod {
     struct HSL {
+        HSL()
+        : hueInterpolationMethod { HueInterpolationMethod::Shorter}
+        { }
+
+        HSL(HueInterpolationMethod method)
+        : hueInterpolationMethod(method)
+        { }
+
         static constexpr auto interpolationColorSpace = 
ColorInterpolationColorSpace::HSL;
         using ColorType = WebCore::HSLA<float>;
-        HueInterpolationMethod hueInterpolationMethod = 
HueInterpolationMethod::Shorter;
+        HueInterpolationMethod hueInterpolationMethod;
     };
     struct HWB {
         static constexpr auto interpolationColorSpace = 
ColorInterpolationColorSpace::HWB;
-- 
2.35.1

Reply via email to