diff --git a/0001-adapt-qC_Debug_Info_Warning_Critical_-for-new-definition.patch b/0001-adapt-qC_Debug_Info_Warning_Critical_-for-new-definition.patch new file mode 100644 index 0000000..8cb7122 --- /dev/null +++ b/0001-adapt-qC_Debug_Info_Warning_Critical_-for-new-definition.patch @@ -0,0 +1,53 @@ +From 63ef7628091c8827e3d0d688220d3ae165587eb2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Cristi=C3=A1n=20Maureira-Fredes?= + +Date: Thu, 13 Jul 2023 14:41:14 +0200 +Subject: adapt qC{Debug,Info,Warning,Critical} for new definition + +In response to: + I3eb1bd30e0124f89a052fffd16a7564f4450ec8a + +Change-Id: I5393660521a8ee12a14bf2c287a6ea9a0393408f +Reviewed-by: Shyamnath Premnadh +Reviewed-by: Qt CI Bot +--- + sources/pyside6/PySide6/QtCore/typesystem_core_common.xml | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml +index bf6e263d4..e8155d41d 100644 +--- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml ++++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml +@@ -3340,25 +3340,25 @@ + + + +- qCDebug(*category, "%s", %2); ++ qCDebug((*category), "%s", %2); + + + + + +- qCCritical(*category, "%s", %2); ++ qCCritical((*category), "%s", %2); + + + + + +- qCInfo(*category, "%s", %2); ++ qCInfo((*category), "%s", %2); + + + + + +- qCWarning(*category, "%s", %2); ++ qCWarning((*category), "%s", %2); + + + +-- +cgit v1.2.3 + diff --git a/python3-pyside6.changes b/python3-pyside6.changes index 0c8c610..553c910 100644 --- a/python3-pyside6.changes +++ b/python3-pyside6.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Oct 4 09:00:16 UTC 2023 - Antonio Larrosa + +- Add patch from upstream to fix a build failure: + * 0001-adapt-qC_Debug_Info_Warning_Critical_-for-new-definition.patch + ------------------------------------------------------------------- Mon Sep 18 12:54:20 UTC 2023 - Christophe Marin diff --git a/python3-pyside6.spec b/python3-pyside6.spec index 2a3df66..cde5ea4 100644 --- a/python3-pyside6.spec +++ b/python3-pyside6.spec @@ -36,6 +36,8 @@ Source: https://www.nic.funet.fi/pub/mirrors/download.qt-project.org/off Patch0: 0001-Always-link-to-python-libraries.patch # PATCH-FIX-UPSTREAM Patch1: 0001-Fix-tests-sample_privatector-sample_privatedtor-fail.patch +# PATCH-FIX-UPSTREAM +Patch2: 0001-adapt-qC_Debug_Info_Warning_Critical_-for-new-definition.patch # SECTION common_dependencies BuildRequires: clang-devel BuildRequires: fdupes