Backport upstream fix for QTBUG-91909
Remove the unnecessary template parameter from the class specialization This seems to cause errors when compiling with gcc-11. Although this is most likely a compiler bug, specifiying the template parameter type in this case isn't necessary.
This commit is contained in:
parent
6ae41be826
commit
c04abe00a3
@ -55,7 +55,7 @@ BuildRequires: pkgconfig(libsystemd)
|
||||
Name: qt5-qtbase
|
||||
Summary: Qt5 - QtBase components
|
||||
Version: 5.15.2
|
||||
Release: 15%{?dist}
|
||||
Release: 16%{?dist}
|
||||
|
||||
|
||||
# See LGPL_EXCEPTIONS.txt, for exception details
|
||||
@ -138,6 +138,7 @@ Patch90: %{name}-gcc11.patch
|
||||
Patch200: qtbase-QTBUG-90395.patch
|
||||
Patch201: qtbase-QTBUG-89977.patch
|
||||
Patch202: qtbase-filechooser-portal-send-window-id-in-hex.patch
|
||||
Patch203: qtbase-QTBUG-91909.patch
|
||||
|
||||
# Do not check any files in %%{_qt5_plugindir}/platformthemes/ for requires.
|
||||
# Those themes are there for platform integration. If the required libraries are
|
||||
@ -400,6 +401,7 @@ Qt5 libraries used for drawing widgets and OpenGL items.
|
||||
## upstream patches
|
||||
%patch200 -p1 -b .QTBUG-90395
|
||||
%patch201 -p1 -b .QTBUG-89977
|
||||
%patch203 -p1 -b .QTBUG-91909
|
||||
|
||||
# move some bundled libs to ensure they're not accidentally used
|
||||
pushd src/3rdparty
|
||||
@ -1061,6 +1063,9 @@ fi
|
||||
|
||||
|
||||
%changelog
|
||||
* Sat May 01 2021 Alessandro Astone <ales.astone@gmail.com> - 5.15.2-16
|
||||
- Backport upstream fix for QTBUG-91909
|
||||
|
||||
* Tue Mar 09 2021 Jan Grulich <jgrulich@redhat.com> - 5.15.2-15
|
||||
- FileChooser portal: send window id in hex
|
||||
|
||||
|
31
qtbase-QTBUG-91909.patch
Normal file
31
qtbase-QTBUG-91909.patch
Normal file
@ -0,0 +1,31 @@
|
||||
From 659f7a06e91c04b239e3f4c0bcfccbe3581af1c3 Mon Sep 17 00:00:00 2001
|
||||
From: Sona Kurazyan <sona.kurazyan@qt.io>
|
||||
Date: Wed, 17 Mar 2021 16:04:00 +0100
|
||||
Subject: [PATCH] Remove the unnecessary template parameter from the class specialization
|
||||
|
||||
This seems to cause errors when compiling with gcc-11. Although this is
|
||||
most likely a compiler bug, specifiying the template parameter type in
|
||||
this case isn't necessary.
|
||||
|
||||
Fixes: QTBUG-91909
|
||||
Fixes: QTBUG-90568
|
||||
Pick-to: 6.0 6.1 5.15
|
||||
Change-Id: Ib231257ccb2e16cc533f23ca5840d31e26a66d53
|
||||
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
|
||||
---
|
||||
|
||||
diff --git a/src/concurrent/qtconcurrentthreadengine.h b/src/concurrent/qtconcurrentthreadengine.h
|
||||
index cbd8ad04..4cd5b85 100644
|
||||
--- a/src/concurrent/qtconcurrentthreadengine.h
|
||||
+++ b/src/concurrent/qtconcurrentthreadengine.h
|
||||
@@ -256,8 +256,8 @@
|
||||
class ThreadEngineStarter<void> : public ThreadEngineStarterBase<void>
|
||||
{
|
||||
public:
|
||||
- ThreadEngineStarter<void>(ThreadEngine<void> *_threadEngine)
|
||||
- :ThreadEngineStarterBase<void>(_threadEngine) {}
|
||||
+ ThreadEngineStarter(ThreadEngine<void> *_threadEngine)
|
||||
+ : ThreadEngineStarterBase<void>(_threadEngine) {}
|
||||
|
||||
void startBlocking()
|
||||
{
|
Loading…
Reference in New Issue
Block a user