python312Packages.pyqt6: fix build with Qt 6.8.2

This commit is contained in:
K900
2025-02-05 10:07:17 +03:00
parent 843c9fa59c
commit 19fc0b92d9
2 changed files with 16 additions and 0 deletions
@@ -42,6 +42,10 @@ buildPythonPackage rec {
# ./pyqt5-fix-dbus-mainloop-support.patch
# confirm license when installing via pyqt6_sip
./pyqt5-confirm-license.patch
# Fix build with Qt 6.8.2
# See: https://gitlab.archlinux.org/archlinux/packaging/packages/pyqt6/-/blob/main/qt-6.8.2.patch
# FIXME: remove when merged upstream
./pyqt6-qt-6.8.2.patch
];
build-system = [
@@ -0,0 +1,12 @@
diff -ru PyQt6-6.8.0.orig/sip/QtCore/qstringconverter_base.sip PyQt6-6.8.0/sip/QtCore/qstringconverter_base.sip
--- PyQt6-6.8.0.orig/sip/QtCore/qstringconverter_base.sip 2025-01-31 12:23:09.006305233 +0100
+++ PyQt6-6.8.0/sip/QtCore/qstringconverter_base.sip 2025-01-31 12:28:34.695224379 +0100
@@ -22,7 +22,7 @@
%If (Qt_6_4_0 -)
-class QStringConverterBase
+class QStringConverterBase /NoDefaultCtors/
{
%TypeHeaderCode
#include <qstringconverter_base.h>