!11 fix undefined symbol

From: @jpzhang187
Reviewed-by: @lyn1001,@small_leek,@ruebb
Signed-off-by: @small_leek,@ruebb
This commit is contained in:
openeuler-ci-bot 2021-08-30 03:05:32 +00:00 committed by Gitee
commit 02faa254b7
2 changed files with 30 additions and 2 deletions

View File

@ -0,0 +1,24 @@
diff --git a/providerMgr.c b/providerMgr.c
index 53fed57..23deaaf 100644
--- a/providerMgr.c
+++ b/providerMgr.c
@@ -54,6 +54,7 @@
#endif
sigset_t mask, old_mask;
+const char *sfcBrokerStart;
static pthread_mutex_t resultsocketMutex = PTHREAD_MUTEX_INITIALIZER;
diff --git a/sfcBroker.c b/sfcBroker.c
index 5133cc4..e15a637 100644
--- a/sfcBroker.c
+++ b/sfcBroker.c
@@ -52,7 +52,6 @@
#include "config.h"
#endif
-const char *sfcBrokerStart;
int sfcBrokerPid = 0;

View File

@ -2,8 +2,8 @@ Name: sblim-sfcb
Summary: Small Footprint CIM Broker (SFCB)
URL: http://sblim.sourceforge.net/wiki/index.php/Sfcb
Version: 1.4.9
Release: 16
License: EPL
Release: 17
License: EPL-1.0
Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2
Source1: sfcb.service
@ -15,6 +15,7 @@ Patch3: sblim-sfcb-1.4.9-fix-null-deref.patch
Patch4: sblim-sfcb-1.4.9-fix-null-content-type-crash.patch
Patch5: sblim-sfcb-1.4.9-sfcbrepos-schema-location.patch
Patch6: sblim-sfcb-1.4.9-fix-multiple-definition.patch
Patch7: sblim-sfcb-1.4.9-fix-undefined-symbol.patch
Provides: cim-server = 0
Requires: cim-schema sblim-sfcCommon
@ -90,6 +91,9 @@ fi;
%files -f _pkg_list
%changelog
* Fri Aug 27 2021 zhangjiapeng <zhangjiapeng9@huawei.com> - 1.4.9-17
- fix undefined symbol
* Fri Jul 30 2021 yaokai13 <yaokai13@huawei.com> - 1.4.9-16
- Fix failure caused by GCC upgrade to 10