Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Sep 2020 07:13:55 +0000 (UTC)
From:      =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r547241 - in head/sysutils/ipmitool: . files
Message-ID:  <202009010713.0817DtR6096978@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: se
Date: Tue Sep  1 07:13:55 2020
New Revision: 547241
URL: https://svnweb.freebsd.org/changeset/ports/547241

Log:
  Fix build with -fno-common
  
  Approved by:	antoine (implicit)

Added:
  head/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h   (contents, props changed)
  head/sysutils/ipmitool/files/patch-src_ipmitool.c   (contents, props changed)
Modified:
  head/sysutils/ipmitool/Makefile

Modified: head/sysutils/ipmitool/Makefile
==============================================================================
--- head/sysutils/ipmitool/Makefile	Tue Sep  1 06:58:02 2020	(r547240)
+++ head/sysutils/ipmitool/Makefile	Tue Sep  1 07:13:55 2020	(r547241)
@@ -3,7 +3,7 @@
 
 PORTNAME=	ipmitool
 PORTVERSION=	1.8.18
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	sysutils
 MASTER_SITES=	SF
 

Added: head/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ipmitool/files/patch-include_ipmitool_ipmi__hpmfwupg.h	Tue Sep  1 07:13:55 2020	(r547241)
@@ -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)

Added: head/sysutils/ipmitool/files/patch-src_ipmitool.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/ipmitool/files/patch-src_ipmitool.c	Tue Sep  1 07:13:55 2020	(r547241)
@@ -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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009010713.0817DtR6096978>