public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Fabio Valentini <decathorpe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/webkitgtk] epel10.3: Backport upstream change to fix builds with older GCC
Date: Mon, 23 Nov 2026 00:00:55 GMT [thread overview]
Message-ID: <179539205552.1.12290845835120207993.rpms-webkitgtk-b790ee3378a6@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/webkitgtk
Branch : epel10.3
Commit : b790ee3378a67052129aa3731dd40c08c40d359c
Author : Fabio Valentini <decathorpe@gmail.com>
Date : 2026-11-22T22:33:17+01:00
Stats : +42/-0 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/webkitgtk/c/b790ee3378a67052129aa3731dd40c08c40d359c?branch=epel10.3
Log:
Backport upstream change to fix builds with older GCC
---
diff --git a/0001-gtk-WebKitWebViewBase.cpp-3849-23-error-no-viable-ov.patch b/0001-gtk-WebKitWebViewBase.cpp-3849-23-error-no-viable-ov.patch
new file mode 100644
index 0000000..c45638e
--- /dev/null
+++ b/0001-gtk-WebKitWebViewBase.cpp-3849-23-error-no-viable-ov.patch
@@ -0,0 +1,39 @@
+From 62d55a5dd4a22a20aa14bc6faf1fb16a2bbae153 Mon Sep 17 00:00:00 2001
+From: Alberto Garcia <berto@igalia.com>
+Date: Wed, 18 Nov 2026 05:57:08 -0800
+Subject: [PATCH] gtk/WebKitWebViewBase.cpp:3849:23: error: no viable
+ overloaded '=' https://bugs.webkit.org/show_bug.cgi?id=332157
+
+Unreviewed build fix.
+
+Drop the type reference indication (i.e. turn "auto&" into "auto")
+because the ::platformImage() function returns a Skia sk_sp<T> smart
+pointer by value.
+
+The same fix was applied in the main branch in 319114@main as part of
+a larger change.
+
+* Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
+(webkitWebViewBaseSetCursor):
+
+Canonical link: https://commits.webkit.org/317695.778@webkitglib/2.54
+---
+ Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
+index 7646e921..7173f704 100644
+--- a/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
++++ b/Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp
+@@ -3820,7 +3820,7 @@ void webkitWebViewBaseSetCursor(WebKitWebViewBase* webViewBase, const Cursor& cu
+
+ auto cursorScale = cursor.imageScaleFactor();
+ IntPoint effectiveHotSpot = determineHotSpot(cursor.image().get(), cursor.hotSpot()).scaled(1 / cursorScale);
+- auto& platformImage = nativeImage->platformImage();
++ auto platformImage = nativeImage->platformImage();
+
+ #if USE(GTK4)
+ if (cursorScale != 1) {
+--
+2.56.1
+
diff --git a/webkitgtk.spec b/webkitgtk.spec
index de9645b..697d433 100644
--- a/webkitgtk.spec
+++ b/webkitgtk.spec
@@ -87,6 +87,9 @@ Source1: https://webkitgtk.org/releases/webkitgtk-%{version}.tar.xz.asc
# sq --home=none network keyserver search 013A0127AC9C65B34FFA62526C1009B693975393 5AA3BC334FD7E3369E7C77B291C559DBE4C9123B --output webkitgtk-keys.gpg --overwrite
Source2: webkitgtk-keys.gpg
+# backport https://github.com/WebKit/WebKit/commit/b3aa62a to fix build errors
+Patch: 0001-gtk-WebKitWebViewBase.cpp-3849-23-error-no-viable-ov.patch
+
# CMake: add missing ordering information to fix a potential race condition that
# can lead to build failures due to unresolvable #include's
Patch: 0001-cmake-resolve-race-condition-between-source-generati.patch
reply other threads:[~2026-11-23 0:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179539205552.1.12290845835120207993.rpms-webkitgtk-b790ee3378a6@fedoraproject.org \
--to=decathorpe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox