Source: https://build.opensuse.org/projects/openSUSE:Factory/packages/freeipmi/files/gcc-14.patch

Index: freeipmi.spec_dir/freeipmi-1.6.14/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
===================================================================
--- freeipmi.spec_dir.orig/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
+++ freeipmi.spec_dir/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h
@@ -38,5 +38,14 @@ int sel_string_output_supermicro_overhea
                                                                  unsigned int flags,
                                                                  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 */
Index: freeipmi.spec_dir/freeipmi-1.6.14/ipmi-sensors/ipmi-sensors-oem-intel.c
===================================================================
--- freeipmi.spec_dir.orig/ipmi-sensors/ipmi-sensors-oem-intel.c
+++ freeipmi.spec_dir/ipmi-sensors/ipmi-sensors-oem-intel.c
@@ -34,6 +34,7 @@
 #include "ipmi-sensors-oem-intel.h"
 #include "ipmi-sensors-oem-intel-s5500wb.h"
 #include "ipmi-sensors-oem-intel-s2600jf.h"
+#include "ipmi-sensors-oem-intel-s2600wp.h"
 #include "ipmi-sensors-oem-intel-quanta-qssc-s4r.h"
 #include "ipmi-sensors-oem-intel-node-manager.h"
