Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package qt6-tools for openSUSE:Factory 
checked in at 2024-10-03 18:02:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/qt6-tools (Old)
 and      /work/SRC/openSUSE:Factory/.qt6-tools.new.19354 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "qt6-tools"

Thu Oct  3 18:02:19 2024 rev:39 rq:1205150 version:6.7.3

Changes:
--------
--- /work/SRC/openSUSE:Factory/qt6-tools/qt6-tools.changes      2024-06-24 
20:50:12.693545367 +0200
+++ /work/SRC/openSUSE:Factory/.qt6-tools.new.19354/qt6-tools.changes   
2024-10-03 18:03:13.129277745 +0200
@@ -1,0 +2,12 @@
+Sat Sep 28 08:23:10 UTC 2024 - Christophe Marin <[email protected]>
+
+- Update to 6.7.3
+  * https://www.qt.io/blog/qt-6.7.3-released
+
+-------------------------------------------------------------------
+Tue Sep 24 21:22:32 UTC 2024 - Aaron Puchert <[email protected]>
+
+- Add fix-llvm19-build.patch to fix build with LLVM 19. Upstream
+  report is at https://bugreports.qt.io/browse/QTBUG-129146.
+
+-------------------------------------------------------------------

Old:
----
  qttools-everywhere-src-6.7.2.tar.xz

New:
----
  fix-llvm19-build.patch
  qttools-everywhere-src-6.7.3.tar.xz

BETA DEBUG BEGIN:
  New:
- Add fix-llvm19-build.patch to fix build with LLVM 19. Upstream
  report is at https://bugreports.qt.io/browse/QTBUG-129146.
BETA DEBUG END:

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

Other differences:
------------------
++++++ qt6-tools.spec ++++++
--- /var/tmp/diff_new_pack.eEetRZ/_old  2024-10-03 18:03:13.917310541 +0200
+++ /var/tmp/diff_new_pack.eEetRZ/_new  2024-10-03 18:03:13.921310708 +0200
@@ -16,7 +16,7 @@
 #
 
 
-%define real_version 6.7.2
+%define real_version 6.7.3
 %define short_version 6.7
 %define tar_name qttools-everywhere-src
 %define tar_suffix %{nil}
@@ -27,7 +27,7 @@
 %endif
 #
 Name:           qt6-tools%{?pkg_suffix}
-Version:        6.7.2
+Version:        6.7.3
 Release:        0
 Summary:        Qt 6 Tools libraries and tools
 # TODO Check if it's still valid
@@ -46,11 +46,12 @@
 # The 48x48 icon was removed from qttools
 Source14:       linguist6.png
 Source99:       qt6-tools-rpmlintrc
+Patch1:         fix-llvm19-build.patch
 # clang-devel in Leap 15 points to clang7...
 %if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150600
 BuildRequires:  clang17-devel
 %else
-%if 0%{?suse_version} == 1500 && 0%{?sle_version} >= 150400
+%if 0%{?suse_version} == 1500 && 0%{?sle_version} == 150500
 BuildRequires:  clang15-devel
 %else
 BuildRequires:  clang-devel >= 8

++++++ fix-llvm19-build.patch ++++++
Should eventually be replaced by upstream fix, see 
https://bugreports.qt.io/browse/QTBUG-129146.

diff --git a/src/linguist/lupdate/clangtoolastreader.cpp 
b/src/linguist/lupdate/clangtoolastreader.cpp
index 6b85c6c..63ddf3d 100644
--- a/src/linguist/lupdate/clangtoolastreader.cpp
+++ b/src/linguist/lupdate/clangtoolastreader.cpp
@@ -782,7 +782,7 @@ bool LupdateVisitor::VisitNamedDecl(clang::NamedDecl 
*namedDeclaration)
     if (!fullLocation.isValid() || !fullLocation.getFileEntry())
         return true;
 
-    if 
(!LupdatePrivate::isFileSignificant(fullLocation.getFileEntry()->getName().str()))
+    if 
(!LupdatePrivate::isFileSignificant(fullLocation.getFileEntry()->tryGetRealPathName().str()))
         return true;
 
     qCDebug(lcClang) << "NamedDecl Name:   " << 
QString::fromStdString(namedDeclaration->getQualifiedNameAsString());
diff --git a/src/qdoc/qdoc/src/qdoc/clangcodeparser.cpp 
b/src/qdoc/qdoc/src/qdoc/clangcodeparser.cpp
index bd3cc63..c5ec3d4 100644
--- a/src/qdoc/qdoc/src/qdoc/clangcodeparser.cpp
+++ b/src/qdoc/qdoc/src/qdoc/clangcodeparser.cpp
@@ -168,7 +168,11 @@ static std::string get_expression_as_string(const 
clang::Expr* expression, const
  */
 static std::string get_default_value_initializer_as_string(const 
clang::TemplateTypeParmDecl* parameter) {
     return (parameter && parameter->hasDefaultArgument()) ?
+#if LIBCLANG_VERSION_MAJOR >= 19
+                
get_fully_qualified_type_name(parameter->getDefaultArgument().getTypeSourceInfo()->getType(),
 parameter->getASTContext()) :
+#else
                 get_fully_qualified_type_name(parameter->getDefaultArgument(), 
parameter->getASTContext()) :
+#endif
                 "";
 
 }
@@ -184,7 +188,11 @@ static std::string 
get_default_value_initializer_as_string(const clang::Template
  */
 static std::string get_default_value_initializer_as_string(const 
clang::NonTypeTemplateParmDecl* parameter) {
     return (parameter && parameter->hasDefaultArgument()) ?
+#if LIBCLANG_VERSION_MAJOR >= 19
+        
get_expression_as_string(parameter->getDefaultArgument().getLocInfo().getAsExpr(),
 parameter->getASTContext()) : "";
+#else
         get_expression_as_string(parameter->getDefaultArgument(), 
parameter->getASTContext()) : "";
+#endif
 
 }
 
@@ -204,7 +212,7 @@ static std::string 
get_default_value_initializer_as_string(const clang::Template
         const clang::TemplateName template_name = 
parameter->getDefaultArgument().getArgument().getAsTemplate();
 
         llvm::raw_string_ostream ss{default_value};
-        template_name.print(ss, 
parameter->getASTContext().getPrintingPolicy(), 
clang::TemplateName::Qualified::Fully);
+        template_name.print(ss, 
parameter->getASTContext().getPrintingPolicy(), 
clang::TemplateName::Qualified::AsWritten);
     }
 
     return default_value;


++++++ qttools-everywhere-src-6.7.2.tar.xz -> 
qttools-everywhere-src-6.7.3.tar.xz ++++++
/work/SRC/openSUSE:Factory/qt6-tools/qttools-everywhere-src-6.7.2.tar.xz 
/work/SRC/openSUSE:Factory/.qt6-tools.new.19354/qttools-everywhere-src-6.7.3.tar.xz
 differ: char 26, line 1

Reply via email to