diff --git a/0001-Port-to-LLVM-Clang-Git-release-18.x-as-of-2024-02-05.patch b/0001-Port-to-LLVM-Clang-Git-release-18.x-as-of-2024-02-05.patch deleted file mode 100644 index 7846941..0000000 --- a/0001-Port-to-LLVM-Clang-Git-release-18.x-as-of-2024-02-05.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 5e0db6780b264baba5639ec11c5823787661c318 Mon Sep 17 00:00:00 2001 -From: Brad King -Date: Mon, 5 Feb 2024 11:31:17 -0500 -Subject: [PATCH] Port to LLVM/Clang Git release/18.x as of 2024-02-05 - (900e7cbfdee) - -`isPure` was renamed to `isPureVirtual`. ---- - src/Output.cxx | 10 +++++++--- - 1 file changed, 7 insertions(+), 3 deletions(-) - -diff --git a/src/Output.cxx b/src/Output.cxx -index 6086c04..5d15caa 100644 ---- a/src/Output.cxx -+++ b/src/Output.cxx -@@ -93,6 +93,10 @@ using OptionalFileEntryRef = clang::FileEntry const*; - #include - #include - -+#if LLVM_VERSION_MAJOR < 18 -+# define isPureVirtual isPure -+#endif -+ - class ASTVisitorBase - { - protected: -@@ -2282,7 +2286,7 @@ void ASTVisitor::OutputCXXMethodDecl(clang::CXXMethodDecl const* d, - if (d->isVirtual()) { - flags |= FH_Virtual; - } -- if (d->isPure()) { -+ if (d->isPureVirtual()) { - flags |= FH_Pure; - } - if (d->isOverloadedOperator()) { -@@ -2312,7 +2316,7 @@ void ASTVisitor::OutputCXXConversionDecl(clang::CXXConversionDecl const* d, - if (d->isVirtual()) { - flags |= FH_Virtual; - } -- if (d->isPure()) { -+ if (d->isPureVirtual()) { - flags |= FH_Pure; - } - this->OutputFunctionHelper(d, dn, "Converter", flags); -@@ -2348,7 +2352,7 @@ void ASTVisitor::OutputCXXDestructorDecl(clang::CXXDestructorDecl const* d, - if (d->isVirtual()) { - flags |= FH_Virtual; - } -- if (d->isPure()) { -+ if (d->isPureVirtual()) { - flags |= FH_Pure; - } - this->OutputFunctionHelper(d, dn, "Destructor", flags, --- -2.44.0 - diff --git a/CastXML-0.6.4.tar.gz b/CastXML-0.6.4.tar.gz deleted file mode 100644 index d304122..0000000 --- a/CastXML-0.6.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:86d02c7ed743122ce8c6d888c643da92fb7515da04577a933d33180fb7731872 -size 121583 diff --git a/CastXML-0.6.5.tar.gz b/CastXML-0.6.5.tar.gz new file mode 100644 index 0000000..a2e87fb --- /dev/null +++ b/CastXML-0.6.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fea4754bdb1fb4496fec12352e2bd07854843aa757e85d0553f224ff0111c482 +size 121667 diff --git a/CastXML.changes b/CastXML.changes index e11752f..0368756 100644 --- a/CastXML.changes +++ b/CastXML.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Sun Apr 14 08:33:03 UTC 2024 - Atri Bhattacharya + +- Update to version 0.6.5: + * LLVM 18 compatibility. +- Drop upstream incorporated patch: + 0001-Port-to-LLVM-Clang-Git-release-18.x-as-of-2024-02-05.patch + ------------------------------------------------------------------- Thu Mar 21 14:21:26 UTC 2024 - Christophe Marin diff --git a/CastXML.spec b/CastXML.spec index 2cfca46..848a5a8 100644 --- a/CastXML.spec +++ b/CastXML.spec @@ -17,15 +17,13 @@ Name: CastXML -Version: 0.6.4 +Version: 0.6.5 Release: 0 Summary: C-family Abstract Syntax Tree XML Output License: Apache-2.0 URL: https://github.com/CastXML/CastXML -Source0: https://github.com/CastXML/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz +Source0: %{url}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: %{name}-rpmlintrc -# PATCH-FIX-UPSTREAM -Patch0: 0001-Port-to-LLVM-Clang-Git-release-18.x-as-of-2024-02-05.patch BuildRequires: clang-devel BuildRequires: cmake BuildRequires: fdupes