- Add a patch to support sensors for Sun Fire x64 systems

PR:		ports/147287
Submitted by:	Alex Deiter <alex.deiter AT gmail.com> (maintainer)
Obtained from:	OpenIPMI CVS Repositories
This commit is contained in:
Li-Wen Hsu 2010-08-04 10:22:56 +00:00
parent b8235ad399
commit 1b47901e79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=258758
2 changed files with 12 additions and 1 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= openipmi
PORTVERSION= 2.0.18
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= SF/${PORTNAME}/OpenIPMI%202.0%20Library/${PORTVERSION}
DISTNAME= OpenIPMI-${PORTVERSION}

View File

@ -0,0 +1,11 @@
--- lib/sensor.c.orig 2010-05-28 18:51:20.949496519 +0400
+++ lib/sensor.c 2010-05-28 18:51:37.079705617 +0400
@@ -1438,7 +1438,7 @@
s[p]->id_type = IPMI_ASCII_STR;
}
- if (share_count) {
+ if (share_count > 1) {
/* Duplicate the sensor records for each instance. Go
backwards to avoid destroying the first one until we
finish the others. */