!53 [sync] PR-52: 修复doxygen命令返回值问题

From: @openeuler-sync-bot 
Reviewed-by: @caodongxia 
Signed-off-by: @caodongxia
This commit is contained in:
openeuler-ci-bot 2022-08-16 08:29:34 +00:00 committed by Gitee
commit a19bf27bac
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 30 additions and 1 deletions

View File

@ -0,0 +1,25 @@
From c23a12be8a23b9de7f6e78236cf1b571213cb5f9 Mon Sep 17 00:00:00 2001
From: si-gui <swx458333@huawei.com>
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(t);
}
cleanUpDoxygen();
- exit(1);
+ exit(0);
}
else if (qstricmp(formatName.data(),"html")==0)
{
--
2.30.0

View File

@ -4,7 +4,7 @@
Name: doxygen
Epoch: 1
Version: 1.9.3
Release: 1
Release: 2
Summary: A documentation system for C/C++
License: GPL+
Url: https://www.doxygen.nl
@ -14,6 +14,7 @@ Source2: doxywizard-icons.tar.xz
Patch0: %{name}-modify_footer.patch
Patch1: %{name}-no-lowercase-man-names.patch
Patch10: doxygen-no-libclang-cpp.patch
Patch11: RTFGenerator-should-exit-with-0-when-gengrate-file-s.patch
BuildRequires: python3 ImageMagick gcc-c++ gcc perl-interpreter
BuildRequires: python3-libxml2 texlive-bibtex
@ -103,6 +104,9 @@ make tests -C %{BuildDir}
%{_datadir}/icons/hicolor/*/apps/doxywizard.png
%changelog
* Mon Aug 15 2022 caodongxia <caodongxia@h-partners.com> - 1:1.9.3-2
- RTFGenerator should exit with 0 when gengrate file success
* Mon Apr 11 2022 lin zhang <lin.zhang@turbolinux.com.cn> - 1:1.9.3-1
- Update to 1.9.3-1