Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python3-pyside2 for openSUSE:Factory 
checked in at 2021-10-12 21:49:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python3-pyside2 (Old)
 and      /work/SRC/openSUSE:Factory/.python3-pyside2.new.2443 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python3-pyside2"

Tue Oct 12 21:49:59 2021 rev:16 rq:924908 version:5.15.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python3-pyside2/python3-pyside2.changes  
2021-07-20 15:39:44.185501603 +0200
+++ 
/work/SRC/openSUSE:Factory/.python3-pyside2.new.2443/python3-pyside2.changes    
    2021-10-12 21:51:26.936051719 +0200
@@ -1,0 +2,6 @@
+Tue Oct 12 13:52:59 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Backport change from pyside6:
+  * 0001-Backport-LLVM-13-fix-from-shiboken6.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Backport-LLVM-13-fix-from-shiboken6.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python3-pyside2.spec ++++++
--- /var/tmp/diff_new_pack.JLFkid/_old  2021-10-12 21:51:27.524052561 +0200
+++ /var/tmp/diff_new_pack.JLFkid/_new  2021-10-12 21:51:27.528052567 +0200
@@ -44,6 +44,8 @@
 Patch2:         0002-Fix-the-openSUSE-executable-names.patch
 # PATCH-FIX-UPSTREAM
 Patch3:         0001-cmake-Don-t-assume-qhelpgenerator-is-in-PATH.patch
+# PATCH-FIX-UPSTREAM
+Patch4:         0001-Backport-LLVM-13-fix-from-shiboken6.patch
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -132,6 +134,7 @@
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 %if "%{_lib}" == "lib64"
 %patch0 -p1
 %endif

++++++ 0001-Backport-LLVM-13-fix-from-shiboken6.patch ++++++
>From b9bd01e741fd71d8efd917159fab1815ec3a14de Mon Sep 17 00:00:00 2001
From: Christophe Giboudeaux <christo...@krop.fr>
Date: Tue, 12 Oct 2021 15:51:36 +0200
Subject: [PATCH] Backport LLVM 13 fix from shiboken6

>From a4a5fa4568473dd63bf04c9bfd115d3cbe3c504e Mon Sep 17 00:00:00 2001
From: Friedemann Kleint <friedemann.kle...@qt.io>
Date: Tue, 12 Oct 2021 09:33:53 +0200
Subject: [PATCH] shiboken6: Adapt to LLVM 12.01

The identifier for anonymous enums has been changed, causing
shiboken to no longer recognize them.

Pick-to: 6.2 5.15
Task-number: PYSIDE-1686

Change-Id: I1dadc39d6b838bf36009cb8e02ef5e0667e6339e
---
 sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp 
b/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
index 73b1aca63..9cd1c6bc1 100644
--- a/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
+++ b/sources/shiboken2/ApiExtractor/clangparser/clangbuilder.cpp
@@ -887,8 +887,10 @@ static QString enumType(const CXCursor &cursor)
         // PYSIDE-1228: For "typedef enum { v1, v2 } Foo;", type will return
         // "Foo" as expected. Care must be taken to exclude real anonymous 
enums.
         name = getTypeName(clang_getCursorType(cursor));
-        if (name.contains(QLatin1String("(anonymous")))
+        if (name.contains(u"(unnamed") // Clang 12.0.1
+            || name.contains(u"(anonymous")) { // earlier
             name.clear();
+       }
     }
     return name;
 }
-- 
2.33.0

Reply via email to