Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package clang-extract for openSUSE:Factory checked in at 2025-07-10 22:14:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/clang-extract (Old) and /work/SRC/openSUSE:Factory/.clang-extract.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "clang-extract" Thu Jul 10 22:14:09 2025 rev:16 rq:1291727 version:0~20250710.ac81bbb Changes: -------- --- /work/SRC/openSUSE:Factory/clang-extract/clang-extract.changes 2024-12-22 18:03:28.745980669 +0100 +++ /work/SRC/openSUSE:Factory/.clang-extract.new.7373/clang-extract.changes 2025-07-10 22:14:17.329056306 +0200 @@ -1,0 +2,6 @@ +Thu Jul 10 14:29:02 UTC 2025 - mvet...@suse.com + +- Update to version 0~20250710.ac81bbb: + * Add compatibility to llvm-20 + +------------------------------------------------------------------- Old: ---- clang-extract-0~20241220.8344124.tar.xz New: ---- clang-extract-0~20250710.ac81bbb.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ clang-extract.spec ++++++ --- /var/tmp/diff_new_pack.GilbEG/_old 2025-07-10 22:14:18.009084590 +0200 +++ /var/tmp/diff_new_pack.GilbEG/_new 2025-07-10 22:14:18.009084590 +0200 @@ -1,7 +1,7 @@ # # spec file for package clang-extract # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: clang-extract -Version: 0~20241220.8344124 +Version: 0~20250710.ac81bbb Release: 0 Summary: A tool to extract code content from source files License: Apache-2.0 WITH LLVM-exception AND NCSA ++++++ _service ++++++ --- /var/tmp/diff_new_pack.GilbEG/_old 2025-07-10 22:14:18.053086420 +0200 +++ /var/tmp/diff_new_pack.GilbEG/_new 2025-07-10 22:14:18.057086586 +0200 @@ -2,7 +2,7 @@ <service name="tar_scm" mode="manual"> <param name="scm">git</param> <param name="url">https://github.com/SUSE/clang-extract</param> - <param name="revision">8344124f604e2ef9202177f5b9ed61962a37c4dc</param> + <param name="revision">ac81bbb8f95e6409da2eeee8ef41cc9d7d970241</param> <param name="versionformat">0~%cd.%h</param> <param name="changesgenerate">enable</param> <param name="changesauthor">mvet...@suse.com</param> ++++++ clang-extract-0~20241220.8344124.tar.xz -> clang-extract-0~20250710.ac81bbb.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20241220.8344124/.github/workflows/testsuite.yml new/clang-extract-0~20250710.ac81bbb/.github/workflows/testsuite.yml --- old/clang-extract-0~20241220.8344124/.github/workflows/testsuite.yml 2024-12-20 21:31:15.000000000 +0100 +++ new/clang-extract-0~20250710.ac81bbb/.github/workflows/testsuite.yml 2025-07-10 16:18:24.000000000 +0200 @@ -15,7 +15,7 @@ opensuse: [tumbleweed] compiler: [clang] build-type: [debug, release] - version: [17, 18, 19] + version: [18, 19, 20] container: image: opensuse/${{ matrix.opensuse }} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20241220.8344124/libcextract/ClangCompat.hh new/clang-extract-0~20250710.ac81bbb/libcextract/ClangCompat.hh --- old/clang-extract-0~20241220.8344124/libcextract/ClangCompat.hh 2024-12-20 21:31:15.000000000 +0100 +++ new/clang-extract-0~20250710.ac81bbb/libcextract/ClangCompat.hh 2025-07-10 16:18:24.000000000 +0200 @@ -102,4 +102,15 @@ return A; #endif } + + static inline IntrusiveRefCntPtr<DiagnosticsEngine> createDiagnostics( + llvm::vfs::FileSystem &VFS, + DiagnosticOptions *Opts) + { +#if CLANG_VERSION_MAJOR >= 20 + return CompilerInstance::createDiagnostics(VFS, Opts); +#else + return CompilerInstance::createDiagnostics(Opts); +#endif + } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/clang-extract-0~20241220.8344124/libcextract/Passes.cpp new/clang-extract-0~20250710.ac81bbb/libcextract/Passes.cpp --- old/clang-extract-0~20241220.8344124/libcextract/Passes.cpp 2024-12-20 21:31:15.000000000 +0100 +++ new/clang-extract-0~20250710.ac81bbb/libcextract/Passes.cpp 2025-07-10 16:18:24.000000000 +0200 @@ -79,7 +79,7 @@ diagopts->ShowColors = true; } - Diags = CompilerInstance::createDiagnostics(diagopts); + Diags = ClangCompat::createDiagnostics(*_Hack_VFS, diagopts); if (ctx->IgnoreClangErrors) { Diags->setWarningsAsErrors(false);