Ana Guerrero 2025-02-03 20:41:39 +00:00 committed by Git OBS Bridge
commit 58b9532b70
3 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,30 @@
From ee6c2c30eca67004e2b05f55ee1d82c3ab44b966 Mon Sep 17 00:00:00 2001
From: Christophe Marin <christophe@krop.fr>
Date: Sun, 2 Feb 2025 12:59:19 +0100
Subject: [PATCH] Fix build with Qt 6.8.2
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Fixes:
/home/abuild/rpmbuild/BUILD/python-PyQt6-6.8.0-build/PyQt6-6.8.0/build/QtCore/sipQtCoreQStringConverterBase.cpp:58:52: error: use of deleted function constexpr QStringConverterBase::QStringConverterBase(const QStringConverterBase&)
---
sip/QtCore/qstringconverter_base.sip | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sip/QtCore/qstringconverter_base.sip b/sip/QtCore/qstringconverter_base.sip
index d0c790f..6f7c301 100644
--- a/sip/QtCore/qstringconverter_base.sip
+++ b/sip/QtCore/qstringconverter_base.sip
@@ -22,7 +22,7 @@
%If (Qt_6_4_0 -)
-class QStringConverterBase
+class QStringConverterBase /NoDefaultCtors/
{
%TypeHeaderCode
#include <qstringconverter_base.h>
--
2.48.1

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Feb 2 12:00:43 UTC 2025 - Christophe Marin <christophe@krop.fr>
- Add build fix:
* 0001-Fix-build-with-Qt-6.8.2.patch
-------------------------------------------------------------------
Wed Jan 8 15:33:06 UTC 2025 - Ben Greiner <code@bnavigator.de>

View File

@ -32,6 +32,8 @@ Source: https://files.pythonhosted.org/packages/source/P/PyQt6/PyQt6-%{v
Patch0: disable-rpaths.diff
# PATCH-FIX-OPENSUSE - install binary dbus mainloop integration in arch dependent directory
Patch1: 0001-Use-a-noarch-wrapper-for-dbus-mainloop-integration.patch
# PATCH-FIX-UPSTREAM - fix build failure with Qt 6.8.2
Patch2: 0001-Fix-build-with-Qt-6.8.2.patch
BuildRequires: %{python_module PyQt6-sip >= 13.8}
BuildRequires: %{python_module dbus-python-devel >= 0.8}
BuildRequires: %{python_module devel >= 3.9}