From 1013469ca5c002f6c20956eb8cbea5c77304a910 Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Sat, 26 Feb 2022 11:02:15 +0530 Subject: [PATCH] ipmitool: add missing patch --- packages/ipmitool/multiple-definitions.patch | 24 ++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 packages/ipmitool/multiple-definitions.patch diff --git a/packages/ipmitool/multiple-definitions.patch b/packages/ipmitool/multiple-definitions.patch new file mode 100644 index 000000000..d5ae65c47 --- /dev/null +++ b/packages/ipmitool/multiple-definitions.patch @@ -0,0 +1,24 @@ +https://git.alpinelinux.org/aports/tree/community/ipmitool/gcc-10.patch + +--- a/include/ipmitool/ipmi_hpmfwupg.h ++++ b/include/ipmitool/ipmi_hpmfwupg.h +@@ -800,8 +800,6 @@ + char descString[HPMFWUPG_DESC_STRING_LENGTH + 1]; + }VERSIONINFO, *PVERSIONINFO; + +-VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; +- + #define TARGET_VER (0x01) + #define ROLLBACK_VER (0x02) + #define IMAGE_VER (0x04) +--- a/lib/ipmi_hpmfwupg.c ++++ b/lib/ipmi_hpmfwupg.c +@@ -52,6 +52,8 @@ + # include + #endif + ++static VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX]; ++ + /* From src/plugins/ipmi_intf.c: */ + uint16_t + ipmi_intf_get_max_request_data_size(struct ipmi_intf * intf);