From 861ef1a9a81c76cd421ad6306f357b59dc918115 Mon Sep 17 00:00:00 2001 From: zhangruifang2020 Date: Wed, 14 Aug 2024 08:25:14 +0800 Subject: [PATCH] sync patches --- doxygen-no-libclang-cpp.patch | 11 +++++++++++ doxygen.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 doxygen-no-libclang-cpp.patch diff --git a/doxygen-no-libclang-cpp.patch b/doxygen-no-libclang-cpp.patch new file mode 100644 index 0000000..1e6fdc4 --- /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 77e844f..4c85377 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 -- Gitee