* Al Chu <[EMAIL PROTECTED]> [20.11.2007 08:51]:

> Howdy everyone,
> 
> I'm gearing up for FreeIPMI 0.5.1 to be released in the December
> timeline.  So here's my first shot at a beta release.  For those who
> handle various ports on various systems, if you could please give it a
> sanity check, I'd appreciate it.
> 
> ftp://ftp.zresearch.com/pub/freeipmi/0.5.0.beta/

A little patch for FreeBSD compatibility:

Index: libfreeipmi/src/ipmi-kcs-api.c
===================================================================
RCS file: /sources/freeipmi/freeipmi/libfreeipmi/src/ipmi-kcs-api.c,v
retrieving revision 1.16
diff -u -d -p -r1.16 ipmi-kcs-api.c
--- libfreeipmi/src/ipmi-kcs-api.c      20 Nov 2007 00:34:46 -0000      1.16
+++ libfreeipmi/src/ipmi-kcs-api.c      20 Nov 2007 04:42:57 -0000
@@ -379,7 +379,7 @@ ipmi_kcs_ctx_io_init(ipmi_kcs_ctx_t ctx)
       if (errno == EPERM || errno == EACCES)
         ctx->errnum = IPMI_KCS_CTX_ERR_PERMISSION;
       else if (errno == ENOENT)
-        ctx->errnum = IPMI_KCS_CTX_ERR_UNAVAILABLE;
+        ctx->errnum = IPMI_KCS_CTX_ERR_DEVICE_NOT_FOUND;
       else
         ERR_LOG(ctx->errnum = IPMI_KCS_CTX_ERR_SYSTEM_ERROR);
       return (-1);


IPMI_KCS_CTX_ERR_UNAVAILABLE definition was removed in rev 1.9 of
libfreeipmi/include/freeipmi/ipmi-kcs-api.h. Otherwise it compiles and
installs OK on FreeBSD.


_______________________________________________
Freeipmi-devel mailing list
Freeipmi-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/freeipmi-devel

Reply via email to