aboutsummaryrefslogtreecommitdiff
path: root/sysutils/ipmitool
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-01 07:13:55 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-01 07:13:55 +0000
commit842a832f52c229a617ab03fa3b7954e2bdb2572e (patch)
tree36c59f6a5881505134bf3fa386e50cad5855f7ad /sysutils/ipmitool
parent2941c4637db8ce31db5111deca72e78d4bf96c69 (diff)
Notes
Diffstat (limited to 'sysutils/ipmitool')
-rw-r--r--sysutils/ipmitool/Makefile2
-rw-r--r--sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h11
-rw-r--r--sysutils/ipmitool/files/patch-src_ipmitool.c10
3 files changed, 22 insertions, 1 deletions
diff --git a/sysutils/ipmitool/Makefile b/sysutils/ipmitool/Makefile
index ff3766f74528..0956b047c32d 100644
--- a/sysutils/ipmitool/Makefile
+++ b/sysutils/ipmitool/Makefile
@@ -3,7 +3,7 @@
PORTNAME= ipmitool
PORTVERSION= 1.8.18
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= SF
diff --git a/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h b/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h
new file mode 100644
index 000000000000..afe2c78bd123
--- /dev/null
+++ b/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h
@@ -0,0 +1,11 @@
+--- include/ipmitool/ipmi_hpmfwupg.h.orig 2016-06-29 18:01:49 UTC
++++ include/ipmitool/ipmi_hpmfwupg.h
+@@ -800,7 +800,7 @@ typedef struct _VERSIONINFO {
+ char descString[HPMFWUPG_DESC_STRING_LENGTH + 1];
+ }VERSIONINFO, *PVERSIONINFO;
+
+-VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
++extern VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
+
+ #define TARGET_VER (0x01)
+ #define ROLLBACK_VER (0x02)
diff --git a/sysutils/ipmitool/files/patch-src_ipmitool.c b/sysutils/ipmitool/files/patch-src_ipmitool.c
new file mode 100644
index 000000000000..b39684f4a9aa
--- /dev/null
+++ b/sysutils/ipmitool/files/patch-src_ipmitool.c
@@ -0,0 +1,10 @@
+--- src/ipmitool.c.orig 2016-08-21 06:59:27 UTC
++++ src/ipmitool.c
+@@ -79,6 +79,7 @@ extern int ipmi_set_main(struct ipmi_intf * intf, int
+ extern int ipmi_exec_main(struct ipmi_intf * intf, int argc, char ** argv);
+ extern int ipmi_lan6_main(struct ipmi_intf *intf, int argc, char **argv);
+
++VERSIONINFO gVersionInfo[HPMFWUPG_COMPONENT_ID_MAX];
+
+ int csv_output = 0;
+ int verbose = 0;