new file mode 100644
@@ -0,0 +1,48 @@
+From 3018aa9822c680663ebd19542bcd757dc9baf20a Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sun, 8 Sep 2024 20:16:49 -0700
+Subject: [PATCH] Fix undeclared function errors
+
+e.g.
+
+ipmi-sel-string-supermicro-x10dimm-common.c:87:14: error: call to undeclared function 'sel_string_output_supermicro_dimm_event_d
+ | 87 | if ((ret = sel_string_output_supermicro_dimm_event_data2_event_data3 (ctx,
+
+Upstream-Status: Submitted [https://lists.gnu.org/archive/html/freeipmi-devel/2024-07/msg00000.html]
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+---
+ ipmi-sensors/ipmi-sensors-oem-intel.c | 1 +
+ libfreeipmi/sel/ipmi-sel-string-supermicro-common.h | 9 +++++++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/ipmi-sensors/ipmi-sensors-oem-intel.c b/ipmi-sensors/ipmi-sensors-oem-intel.c
+index 5e0f373..872a730 100644
+--- a/ipmi-sensors/ipmi-sensors-oem-intel.c
++++ b/ipmi-sensors/ipmi-sensors-oem-intel.c
+@@ -36,6 +36,7 @@
+ #include "ipmi-sensors-oem-intel-s2600jf.h"
+ #include "ipmi-sensors-oem-intel-quanta-qssc-s4r.h"
+ #include "ipmi-sensors-oem-intel-node-manager.h"
++#include "ipmi-sensors-oem-intel-s2600wp.h"
+
+ #include "freeipmi-portability.h"
+ #include "pstdout.h"
+diff --git a/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h b/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
+index 5785f2b..9e29bd6 100644
+--- a/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
++++ b/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
+@@ -39,4 +39,13 @@ int sel_string_output_supermicro_overheat_event_data1_class_oem (ipmi_sel_ctx_t
+ unsigned int *wlen,
+ struct ipmi_sel_system_event_record_data *system_event_record_data);
+
++int sel_string_output_supermicro_dimm_event_data2_event_data3 (ipmi_sel_ctx_t ctx,
++ struct ipmi_sel_entry *sel_entry,
++ uint8_t sel_record_type,
++ char *buf,
++ unsigned int buflen,
++ unsigned int flags,
++ unsigned int *wlen,
++ struct ipmi_sel_system_event_record_data *system_event_record_data,
++ int *oem_rv);
+ #endif /* IPMI_SEL_STRING_SUPERMICRO_COMMON_H */
new file mode 100644
@@ -0,0 +1,25 @@
+LICENSE = "GPL-3.0-only"
+LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ZRESEARCH;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.bmc-watchdog;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmi-dcmi;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmi-fru;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmiconsole;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmidetect;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmimonitoring;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmiping;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmipower;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.ipmiseld;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.pstdout;md5=d32239bcb673463ab874e80d47fae504 \
+ file://COPYING.sunbmc;md5=c03f21cd76ff5caba6b890d1213cbfbb"
+
+SRC_URI = "${GNU_MIRROR}/freeipmi/freeipmi-${PV}.tar.gz \
+ file://0001-Fix-undeclared-function-errors.patch"
+SRC_URI[sha256sum] = "1a3dac5c76b7ccc4d4f86aa12b8ef9b212baef7489bf05e899b89abb7e14edb5"
+
+DEPENDS = "libgcrypt"
+
+inherit pkgconfig autotools
+
+EXTRA_OECONF = "--without-random-device"
+
Its needed bt netdata 1.47+ Signed-off-by: Khem Raj <raj.khem@gmail.com> --- .../0001-Fix-undeclared-function-errors.patch | 48 +++++++++++++++++++ .../freeipmi/freeipmi_1.6.14.bb | 25 ++++++++++ 2 files changed, 73 insertions(+) create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi/0001-Fix-undeclared-function-errors.patch create mode 100644 meta-oe/recipes-support/freeipmi/freeipmi_1.6.14.bb