Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package CastXML for openSUSE:Factory checked in at 2026-09-16 17:47:58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/CastXML (Old) and /work/SRC/openSUSE:Factory/.CastXML.new.383539 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "CastXML" Wed Sep 16 17:47:58 2026 rev:25 rq:1378390 version:0.7.0 Changes: -------- --- /work/SRC/openSUSE:Factory/CastXML/CastXML.changes 2026-03-02 17:41:46.702955474 +0100 +++ /work/SRC/openSUSE:Factory/.CastXML.new.383539/CastXML.changes 2026-09-16 17:50:59.522691811 +0200 @@ -1,0 +2,9 @@ +Wed Sep 16 14:09:37 UTC 2026 - Atri Bhattacharya <[email protected]> + +- Add CastXML-llvm-23-compat.patch for compatibility with + llvm>=23; upstream master commit 315fbac + (gh#CastXML/CastXML#298). +- Pass `-lm` to linker flags to fix linking math libs when + building binary. + +------------------------------------------------------------------- New: ---- CastXML-llvm-23-compat.patch ----------(New B)---------- New: - Add CastXML-llvm-23-compat.patch for compatibility with llvm>=23; upstream master commit 315fbac ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ CastXML.spec ++++++ --- /var/tmp/diff_new_pack.ynoJQd/_old 2026-09-16 17:51:00.799745145 +0200 +++ /var/tmp/diff_new_pack.ynoJQd/_new 2026-09-16 17:51:00.801745229 +0200 @@ -24,6 +24,8 @@ URL: https://github.com/CastXML/CastXML Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc +# PATCH-FIX-UPSTREAM CastXML-llvm-23-compat.patch gh#CastXML/CastXML#298 [email protected] -- Port to LLVM/Clang Git 23 +Patch0: CastXML-llvm-23-compat.patch BuildRequires: clang-devel BuildRequires: cmake BuildRequires: fdupes @@ -48,6 +50,7 @@ %cmake -DCastXML_INSTALL_MAN_DIR:PATH=%{_mandir} \ -DCastXML_INSTALL_DOC_DIR:PATH=%{_docdir}/%{name} \ -DCLANG_LINK_CLANG_DYLIB:BOOL=ON \ + -DCMAKE_EXE_LINKER_FLAGS:STRING="%{optflags} -lm" \ -DBUILD_TESTING:BOOL=ON \ -DSPHINX_HTML:BOOL=ON \ -DSPHINX_MAN:BOOL=ON ++++++ CastXML-llvm-23-compat.patch ++++++ >From 315fbacc4e4b9c7ea21d25ad489a90b73a526326 Mon Sep 17 00:00:00 2001 From: Brad King <[email protected]> Date: Wed, 10 Jun 2026 10:55:10 -0400 Subject: [PATCH] Port to LLVM/Clang Git main as of 2026-10-10 (6f47b6de08) --- diff --git a/src/Output.cxx b/src/Output.cxx index bb986d4b..9f722efd 100644 --- a/src/Output.cxx +++ b/src/Output.cxx @@ -119,6 +119,10 @@ clang::NestedNameSpecifier const& deref(NestedNameSpecifier const& nns) # define isPureVirtual isPure #endif +#if LLVM_VERSION_MAJOR < 23 +# define getRawCommentNoCache getRawCommentForDeclNoCache +#endif + class ASTVisitorBase { protected: @@ -1973,7 +1977,7 @@ void ASTVisitor::PrintCommentAttribute(clang::Decl const* d, if (!this->Opts.CastXml) { return; } - if (clang::RawComment const* rc = this->CTX.getRawCommentForDeclNoCache(d)) { + if (clang::RawComment const* rc = this->CTX.getRawCommentNoCache(d)) { unsigned int index = ++this->CommentCount; CommentEntry e = { index, rc, dn }; this->CommentQueue.push(e); ++++++ _scmsync.obsinfo ++++++ --- /var/tmp/diff_new_pack.ynoJQd/_old 2026-09-16 17:51:00.885748737 +0200 +++ /var/tmp/diff_new_pack.ynoJQd/_new 2026-09-16 17:51:00.890748946 +0200 @@ -1,5 +1,5 @@ -mtime: 1772447077 -commit: 328d747bfea894fa7d40351958b69ad877cb7b06748dde95bfd49af79385c020 +mtime: 1789568471 +commit: 8c9d03c4457b802d62e6c0ecc8f9a4ac5344ff06cc1af5946f1f709b8522c954 url: https://src.opensuse.org/badshah400/CastXML revision: factory ++++++ build.specials.obscpio ++++++ ++++++ build.specials.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/.gitignore new/.gitignore --- old/.gitignore 1970-01-01 01:00:00.000000000 +0100 +++ new/.gitignore 2026-09-16 16:21:11.000000000 +0200 @@ -0,0 +1 @@ +.osc
