public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/qt6-qtwebengine] epel9: Patch for gcc 13
@ 2026-10-08 20:25 Troy Dawson
0 siblings, 0 replies; only message in thread
From: Troy Dawson @ 2026-10-08 20:25 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/qt6-qtwebengine
Branch : epel9
Commit : 20af60e0ed7ca7c2c972e109e0837647db459202
Author : Troy Dawson <tdawson@redhat.com>
Date : 2026-10-08T13:24:56-07:00
Stats : +38/-4 in 2 file(s)
URL : https://src.fedoraproject.org/rpms/qt6-qtwebengine/c/20af60e0ed7ca7c2c972e109e0837647db459202?branch=epel9
Log:
Patch for gcc 13
No system libtiff on epel9 (too old)
No system libopenjpeg2 on epel9 (too old)
---
diff --git a/qt6-qtwebengine.spec b/qt6-qtwebengine.spec
index 1320c13..7664c6f 100644
--- a/qt6-qtwebengine.spec
+++ b/qt6-qtwebengine.spec
@@ -34,6 +34,8 @@
%global use_system_libicu 0
%global use_system_minizip 0
%global use_system_harfbuzz 0
+%global use_system_libtiff 0
+%global use_system_libopenjpeg2 0
%endif
%if 0%{?rhel} && 0%{?rhel} == 10
@@ -88,7 +90,7 @@
Summary: Qt6 - QtWebEngine components
Name: qt6-qtwebengine
Version: 6.10.3
-Release: 1%{?dist}
+Release: 1.1%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
# See also http://qt-project.org/doc/qt-5.0/qtdoc/licensing.html
@@ -137,6 +139,8 @@ Patch80: qtwebengine-fix-arm-build.patch
## Upstreamable patches:
Patch100: qtwebengine-add-missing-pipewire-headers.patch
Patch101: qtwebengine-fix-build-against-gcc16.patch
+# Fix FTBFS with GCC 13: const members break std::to_array
+Patch102: qtwebengine-fix-ResourceTypes-const-members.patch
## ppc64le port
Patch200: qtwebengine-6.9-ppc64.patch
@@ -188,9 +192,6 @@ BuildRequires: qt6-qtsvg-devel
BuildRequires: qt6-qttools-static
BuildRequires: qt6-qtquickcontrols2-devel
BuildRequires: qt6-qtwebchannel-devel
-%if 0%{?rhel} && 0%{?rhel} < 10
-BuildRequires: gcc-toolset-14
-%endif
BuildRequires: qt6-qtwebsockets-devel
BuildRequires: qt6-qthttpserver-devel
@@ -495,6 +496,7 @@ popd
## upstreamable patches
%patch -P100 -p1 -b .add-missing-pipewire-headers
%patch -P101 -p1 -b .fix-build-against-gcc16
+%patch -P102 -p1 -b .fix-ResourceTypes-const-members
# ppc64le support
%patch -P200 -p1
@@ -852,6 +854,11 @@ done
%endif
%changelog
+* Wed Sep 16 2026 Troy Dawson <tdawson@redhat.com> - 6.10.3-1.3
+- No system libtiff on epel9 (too old)
+- No system libopenjpeg2 on epel9 (too old)
+- Patch for gcc 13
+
* Thu Apr 02 2026 Jan Grulich <jgrulich@redhat.com> - 6.10.3-1
- 6.10.3
diff --git a/qtwebengine-fix-ResourceTypes-const-members.patch b/qtwebengine-fix-ResourceTypes-const-members.patch
new file mode 100644
index 0000000..3cb6e95
--- /dev/null
+++ b/qtwebengine-fix-ResourceTypes-const-members.patch
@@ -0,0 +1,27 @@
+From 701268c3962c6ebd911d79ecf35ebb96b357a231 Mon Sep 17 00:00:00 2001
+From: Troy Dawson <tdawson@redhat.com>
+Date: Thu, 17 Sep 2026 13:02:48 -0700
+Subject: [PATCH] Fix ResourceTypes const members
+
+---
+ .../browser/api/web_request/web_request_resource_type.cc | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/3rdparty/chromium/extensions/browser/api/web_request/web_request_resource_type.cc b/src/3rdparty/chromium/extensions/browser/api/web_request/web_request_resource_type.cc
+index 87a8ed02fb..19630c90b5 100644
+--- a/src/3rdparty/chromium/extensions/browser/api/web_request/web_request_resource_type.cc
++++ b/src/3rdparty/chromium/extensions/browser/api/web_request/web_request_resource_type.cc
+@@ -17,8 +17,8 @@ namespace extensions {
+ namespace {
+
+ struct ResourceTypes {
+- const char* const name;
+- const WebRequestResourceType type;
++ const char* name;
++ WebRequestResourceType type;
+ };
+ constexpr auto kResourceTypes = std::to_array<ResourceTypes>({
+ {"main_frame", WebRequestResourceType::MAIN_FRAME},
+--
+2.52.0
+
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-08 20:25 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-08 20:25 [rpms/qt6-qtwebengine] epel9: Patch for gcc 13 Troy Dawson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox