package/freeipmi: fix gcc 14.x issues
PATCH v2 1/1 package/freeipmi: fix gcc 14.x issues
Directly from upstream stable git repository, fixes for gcc 14.x issues. Only the changelog entries, which do not apply, where removed.
Fixes:
http://autobuild.buildroot.org/results/b33/b33e72b3348427f2f772e5c29dd3753958597058
Signed-off-by Waldemar Brodkorb <[email protected]>
---v1->v2:
- added Upstream tags to patch 0002/0003
--- ...ipmi-sel-string-supermicro-common.h-.patch | 36 ++++++++++++ ...sensors-fix-header-guard-definitions.patch | 57 +++++++++++++++++++ ...003-ipmi-sensors-add-missing-include.patch | 28 +++++++++ 3 files changed, 121 insertions(+) create mode 100644 package/freeipmi/0001-libfreeipmi-sel-ipmi-sel-string-supermicro-common.h-.patch create mode 100644 package/freeipmi/0002-ipmi-sensors-fix-header-guard-definitions.patch create mode 100644 package/freeipmi/0003-ipmi-sensors-add-missing-include.patch
package/freeipmi/0001-libfreeipmi-sel-ipmi-sel-string-supermicro-common.h-.patch new file +36 -0
@@ -0,0 +1,36 @@ +From 9239a686e4bfd862145f4654017112a0f8cbbb0d Mon Sep 17 00:00:00 2001 +From: Albert Chu <[email protected]> +Date: Fri, 22 Mar 2024 21:07:28 -0700 +Subject: [PATCH] libfreeipmi/sel/ipmi-sel-string-supermicro-common.h: Add + missing function prototype. + +Signed-off-by: Albert Chu <[email protected]> +[Waldemar: removed Changelog patching] +Signed-off-by: Waldemar Brodkorb <[email protected]> +Upstream: http://git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-0-stable&id=9239a686e4bfd862145f4654017112a0f8cbbb0d +--- + libfreeipmi/sel/ipmi-sel-string-supermicro-common.h | 10 ++++++++++ + 1 files changed, 15 insertions(+) + +diff --git a/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h b/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h +index 5785f2b64..be5e41d7d 100644 +--- a/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h ++++ b/libfreeipmi/sel/ipmi-sel-string-supermicro-common.h +@@ -39,4 +39,14 @@ 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 */ +-- +2.30.2 +
package/freeipmi/0002-ipmi-sensors-fix-header-guard-definitions.patch new file +57 -0
57 lines not on this page · raw message
package/freeipmi/0003-ipmi-sensors-add-missing-include.patch new file +28 -0
@@ -0,0 +1,28 @@ +From 6ac6f816dbfc83d8cd4f4f163b0f8ff1062d883e Mon Sep 17 00:00:00 2001 +From: Albert Chu <[email protected]> +Date: Mon, 25 Mar 2024 13:57:45 -0700 +Subject: [PATCH] ipmi-sensors: add missing include + +Signed-off-by: Albert Chu <[email protected]> +[Waldemar: removed Changelog patching] +Signed-off-by: Waldemar Brodkorb <[email protected]> +Upstream: https://git.savannah.gnu.org/cgit/freeipmi.git/commit/?h=freeipmi-1-6-0-stable&id=6ac6f816dbfc83d8cd4f4f163b0f8ff1062d883e +--- + ipmi-sensors/ipmi-sensors-oem-intel.c | 1 + + 1 files changed, 1 insertions(+) + +diff --git a/ipmi-sensors/ipmi-sensors-oem-intel.c b/ipmi-sensors/ipmi-sensors-oem-intel.c +index 5e0f3733a..3fc022e3d 100644 +--- a/ipmi-sensors/ipmi-sensors-oem-intel.c ++++ b/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" + +-- +2.39.2 +
Signature · 6 lines
2.39.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas Petazzoni via buildroot
AppliedQuoted 11 lines · On Tue, 27 Aug 2024 06:31:09 +0200 Waldemar Brodkorb <[email protected]> wrote:
Directly from upstream stable git repository, fixes for gcc 14.x issues. Only the changelog entries, which do not apply, where removed.
Fixes:
http://autobuild.buildroot.org/results/b33/b33e72b3348427f2f772e5c29dd3753958597058
Signed-off-by Waldemar Brodkorb <[email protected]>---
v1->v2:
- added Upstream tags to patch 0002/0003
Quoted 8 lines
--- ...ipmi-sel-string-supermicro-common.h-.patch | 36 ++++++++++++ ...sensors-fix-header-guard-definitions.patch | 57 +++++++++++++++++++ ...003-ipmi-sensors-add-missing-include.patch | 28 +++++++++ 3 files changed, 121 insertions(+) create mode 100644 package/freeipmi/0001-libfreeipmi-sel-ipmi-sel-string-supermicro-common.h-.patch create mode 100644 package/freeipmi/0002-ipmi-sensors-fix-header-guard-definitions.patch create mode 100644 package/freeipmi/0003-ipmi-sensors-add-missing-include.patch
Applied to master, thanks.
Thomas
Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot