diff --git a/freeipmi.changes b/freeipmi.changes index d2c250f..5d8d5d0 100644 --- a/freeipmi.changes +++ b/freeipmi.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Jun 3 14:40:55 UTC 2024 - Klaus Kämpf + +- use %autosetup + +- apply patches with -p1 + +------------------------------------------------------------------- +Thu Mar 7 13:07:37 UTC 2024 - Klaus Kämpf + +- fix gcc-14 build: gcc-14.patch (bsc#1220476) + ------------------------------------------------------------------- Mon Jan 29 08:34:51 UTC 2024 - Klaus Kämpf diff --git a/freeipmi.spec b/freeipmi.spec index 5b9ec4f..a2a0d12 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -43,6 +43,7 @@ URL: http://www.gnu.org/software/freeipmi/ Source0: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{srcversion}.tar.gz Source1: http://ftp.gnu.org/gnu/freeipmi/%{name}-%{srcversion}.tar.gz.sig Source2: %{name}.keyring +Patch1: gcc-14.patch Summary: IPMI Service Processor, BMC management tool License: GPL-3.0-or-later Group: System/Management @@ -177,7 +178,7 @@ Platform Management Interface specification. This package contains the libfreeipmi library. %prep -%setup -q -n %{name}-%{srcversion} +%autosetup -p1 -n %{name}-%{srcversion} %build # simple .spec expressions for SLE10 diff --git a/gcc-14.patch b/gcc-14.patch new file mode 100644 index 0000000..72429f0 --- /dev/null +++ b/gcc-14.patch @@ -0,0 +1,30 @@ +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"