diff --git a/doxygen-no-libclang-cpp.patch b/doxygen-no-libclang-cpp.patch new file mode 100644 index 0000000000000000000000000000000000000000..1e6fdc494824607c5cb1069ccfeb32aa7a4166be --- /dev/null +++ b/doxygen-no-libclang-cpp.patch @@ -0,0 +1,11 @@ +--- doxygen-1.9.6/src/CMakeLists.txt.orig 2022-12-21 02:30:03.000000000 +0800 ++++ doxygen-1.9.6/src/CMakeLists.txt 2024-08-13 15:15:47.219115393 +0800 +@@ -379,7 +379,7 @@ + add_definitions(-DCINDEX_NO_EXPORTS) + else() # dynamically linked version of clang + llvm_config(doxymain USE_SHARED support) +- set(CLANG_LIBS libclang clang-cpp) ++ set(CLANG_LIBS libclang clangTooling) + endif() + target_compile_definitions(doxygen PRIVATE ${LLVM_DEFINITIONS}) + endif() diff --git a/doxygen.spec b/doxygen.spec index 77e844f9e90f01207c4169db890c4f1f5a6dd1c8..4c85377f9c71d34d5711eccd6649ebf354bca0ca 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -4,7 +4,7 @@ Name: doxygen Epoch: 1 Version: 1.9.6 -Release: 1 +Release: 2 Summary: A documentation system for C/C++ License: GPL+ Url: https://www.doxygen.nl @@ -12,6 +12,8 @@ Source0: https://www.doxygen.nl/files/%{name}-%{version}.src.tar.gz Source1: doxywizard.desktop Source2: doxywizard-icons.tar.xz +Patch0: doxygen-no-libclang-cpp.patch + BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter BuildRequires: python3-libxml2 texlive-bibtex BuildRequires: desktop-file-utils graphviz flex bison cmake @@ -100,6 +102,9 @@ desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1} %{_datadir}/icons/hicolor/*/apps/doxywizard.png %changelog +* Wed Aug 14 2024 zhangruifang - 1:1.9.6-2 +- sync patches + * Mon Apr 24 2023 xu_ping <707078654@qq.com> - 1:1.9.6-1 - Upgrade package to 1.9.6 version