Fix build with -fno-common
Approved by: antoine (implicit)
This commit is contained in:
parent
2941c4637d
commit
842a832f52
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=547241
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= ipmitool
|
||||
PORTVERSION= 1.8.18
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= SF
|
||||
|
||||
|
@ -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)
|
10
sysutils/ipmitool/files/patch-src_ipmitool.c
Normal file
10
sysutils/ipmitool/files/patch-src_ipmitool.c
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user