From b02d470701606d8d67761bbeb8cea238767db122 Mon Sep 17 00:00:00 2001 From: wangchen2020 <15955488707@163.com> Date: Tue, 11 May 2021 15:30:28 +0800 Subject: [PATCH] RTFGenerator should exit with 0 when gengrate file success --- ...uld-exit-with-0-when-gengrate-file-s.patch | 25 +++++++++++++++++++ doxygen.spec | 6 ++++- 2 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch diff --git a/RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch b/RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch new file mode 100644 index 0000000..c91b1bd --- /dev/null +++ b/RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch @@ -0,0 +1,25 @@ +From c23a12be8a23b9de7f6e78236cf1b571213cb5f9 Mon Sep 17 00:00:00 2001 +From: si-gui +Date: Mon, 12 Apr 2021 16:42:28 +0800 +Subject: [PATCH] RTFGenerator should exit with 0 when gengrate file success + +--- + src/doxygen.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/doxygen.cpp b/src/doxygen.cpp +index 6163e81..31f6886 100644 +--- a/src/doxygen.cpp ++++ b/src/doxygen.cpp +@@ -9974,7 +9974,7 @@ void readConfiguration(int argc, char **argv) + RTFGenerator::writeStyleSheetFile(f); + } + cleanUpDoxygen(); +- exit(1); ++ exit(0); + } + else if (qstricmp(formatName,"html")==0) + { +-- +2.30.0 + diff --git a/doxygen.spec b/doxygen.spec index 85e89b9..20b2f34 100644 --- a/doxygen.spec +++ b/doxygen.spec @@ -3,7 +3,7 @@ Name: doxygen Epoch: 1 Version: 1.8.17 -Release: 4 +Release: 5 Summary: A documentation system for C/C++ License: GPL+ Url: http://www.doxygen.nl @@ -11,6 +11,7 @@ Source0: https://nchc.dl.sourceforge.net/project/%{name}/rel-%{versi Source1: doxywizard.desktop Patch1: test_suite_is_failing.patch +Patch2: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter BuildRequires: tex(dvips) tex(latex) tex(multirow.sty) tex(sectsty.sty) tex(tocloft.sty) @@ -97,6 +98,9 @@ make tests -C %{BuildDir} %{_datadir}/icons/hicolor/*/apps/doxywizard.png %changelog +* Tue May 11 2021 wangchen - 1.8.18-5 +- RTFGenerator should exit with 0 when gengrate file success + * Mon Dec 14 2020 shixuantong - 1.8.18-4 - Modify Source0 -- Gitee