commit:     890b985022a33997b9613f962e61f7ab238dc5c4
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 11:35:30 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 12:25:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=890b9850

dev-python/pyqt6: fix build with Qt 6.8.2

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 dev-python/pyqt6/files/pyqt6-6.8.0-qt682.patch | 9 +++++++++
 dev-python/pyqt6/pyqt6-6.8.0.ebuild            | 6 +++++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyqt6/files/pyqt6-6.8.0-qt682.patch 
b/dev-python/pyqt6/files/pyqt6-6.8.0-qt682.patch
new file mode 100644
index 000000000000..793b45fdda0f
--- /dev/null
+++ b/dev-python/pyqt6/files/pyqt6-6.8.0-qt682.patch
@@ -0,0 +1,9 @@
+Quick build fix while waiting for PyQt6-6.8.2, not entirely sure
+if this is correct as hardly know sip.
+--- a/sip/QtCore/qstringconverter_base.sip
++++ b/sip/QtCore/qstringconverter_base.sip
+@@ -24,3 +24,3 @@
+ 
+-class QStringConverterBase
++class QStringConverterBase /NoDefaultCtors/
+ {

diff --git a/dev-python/pyqt6/pyqt6-6.8.0.ebuild 
b/dev-python/pyqt6/pyqt6-6.8.0.ebuild
index 5ca9f23b9082..4e5481c49bf2 100644
--- a/dev-python/pyqt6/pyqt6-6.8.0.ebuild
+++ b/dev-python/pyqt6/pyqt6-6.8.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022-2024 Gentoo Authors
+# Copyright 2022-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -97,6 +97,10 @@ BDEPEND="
        dbus? ( virtual/pkgconfig )
 "
 
+PATCHES=(
+       "${FILESDIR}"/${P}-qt682.patch
+)
+
 src_prepare() {
        default
 

Reply via email to