diff --git a/sblim-sfcb-1.4.9-fix-undefined-symbol.patch b/sblim-sfcb-1.4.9-fix-undefined-symbol.patch new file mode 100644 index 0000000000000000000000000000000000000000..e45acc39da4d5076edaabf16fbc63d08c76639ec --- /dev/null +++ b/sblim-sfcb-1.4.9-fix-undefined-symbol.patch @@ -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; + diff --git a/sblim-sfcb.spec b/sblim-sfcb.spec index 5f748b73368a8f4cabb01013643a1258d44d5770..f04fde2f3577f4f0104b262866634f936a83e80b 100644 --- a/sblim-sfcb.spec +++ b/sblim-sfcb.spec @@ -9,7 +9,7 @@ Name: sblim-sfcb Summary: Small Footprint CIM Broker URL: http://sblim.wiki.sourceforge.net/ Version: 1.4.9 -Release: 17%{anolis_release}%{?dist} +Release: 18%{anolis_release}%{?dist} License: EPL-1.0 Source0: http://downloads.sourceforge.net/sblim/%{name}-%{version}.tar.bz2 Source1: sfcb.service @@ -47,6 +47,7 @@ Patch10: sblim-sfcb-1.4.9-docdir-license.patch # backport patch from fc33 Patch1001: 1001-sblim-sfcb-1.4.9-fix-multiple-definition.patch # End: Anolis customized patches +Patch1002: sblim-sfcb-1.4.9-fix-undefined-symbol.patch Provides: cim-server = 0 Requires: cim-schema @@ -100,6 +101,7 @@ Doc pages for %{name}. %patch9 -p1 -b .fix-ppc-optimization-level %patch10 -p1 -b .docdir-license %patch1001 -p1 +%patch1002 -p1 %build %configure --enable-debug --enable-uds --enable-ssl --enable-pam --enable-ipv6 \ @@ -161,6 +163,9 @@ fi; %doc AUTHORS ChangeLog NEWS README %changelog +* Wed Sep 3 2025 Yongchang Si - 1.4.9-18.0.2 +- fix undefined symbol + * Sun Jul 17 2022 Xiaoping Liu - 1.4.9-17.0.2 - add doc sub package