diff --git a/sblim-gather-2.2.9-fix-multiple-definition.patch b/sblim-gather-2.2.9-fix-multiple-definition.patch index cdff4ef..8b557b0 100644 --- a/sblim-gather-2.2.9-fix-multiple-definition.patch +++ b/sblim-gather-2.2.9-fix-multiple-definition.patch @@ -1,6 +1,19 @@ +diff -up sblim-gather-2.2.9/plugin/metricVirt.c.orig sblim-gather-2.2.9/plugin/metricVirt.c +--- sblim-gather-2.2.9/plugin/metricVirt.c.orig 2024-08-06 09:18:19.947955210 +0200 ++++ sblim-gather-2.2.9/plugin/metricVirt.c 2024-08-06 09:17:47.268904950 +0200 +@@ -47,6 +47,9 @@ static int err_fn_set = 0; + + static time_t last_time_sampled; + ++struct node_statistics_type node_statistics; ++struct domain_statistics_type domain_statistics; ++ + static void logHypervisorErrors(void *userData, virErrorPtr err) + { + m_log(M_INFO, M_SHOW, "libvirt error: %s\n", err->message); diff -up sblim-gather-2.2.9/plugin/metricVirt.h.orig sblim-gather-2.2.9/plugin/metricVirt.h --- sblim-gather-2.2.9/plugin/metricVirt.h.orig 2014-10-09 23:29:10.000000000 +0200 -+++ sblim-gather-2.2.9/plugin/metricVirt.h 2020-02-12 13:52:56.161653863 +0100 ++++ sblim-gather-2.2.9/plugin/metricVirt.h 2024-08-06 09:15:39.207706860 +0200 @@ -48,7 +48,9 @@ struct node_statistics_type { size_t total_domains; unsigned long long total_memory; diff --git a/sblim-gather.spec b/sblim-gather.spec index 33fccd5..ff2bac9 100644 --- a/sblim-gather.spec +++ b/sblim-gather.spec @@ -3,7 +3,7 @@ Name: sblim-gather Version: 2.2.9 -Release: 33%{?dist} +Release: 34%{?dist} Summary: SBLIM Gatherer License: EPL-1.0 @@ -292,6 +292,9 @@ fi %ldconfig_postun provider %changelog +* Tue Aug 06 2024 Vitezslav Crhonek - 2.2.9-34 +- Fix undefined symbol in libmetricKvm + * Mon Jun 24 2024 Troy Dawson - 2.2.9-33 - Bump release for June 2024 mass rebuild