Follow-up Comment #9, bug #37126 (project freeipmi): FreeBSD Patch for cource code is:
--- libfreeipmi/driver/ipmi-kcs-driver.c.orig 2012-01-03 03:25:58.000000000 +0800 +++ libfreeipmi/driver/ipmi-kcs-driver.c 2012-01-06 04:38:31.485000601 +0800 @@ -491,7 +491,7 @@ #ifdef __FreeBSD__ #ifdef USE_IOPERM /* i386_set_ioperm has known problems on FBSD 5.x (bus errors). */ - if (i386_set_ioperm (ctx->driver_address, 0x02, 0x01)) + if (sysarch (I386_SET_IOPERM, (void *) (ctx->driver_address, 0x02, 0x01))) { KCS_ERRNO_TO_KCS_ERRNUM (ctx, errno); return (-1); --- ipmi-oem/ipmi-oem.h.orig 2012-01-03 03:26:10.000000000 +0800 +++ ipmi-oem/ipmi-oem.h 2012-01-06 04:36:44.994004384 +0800 @@ -20,6 +20,7 @@ #define _IPMI_OEM_H #include <freeipmi/freeipmi.h> +#include <sys/limits.h> #include "tool-cmdline-common.h" #include "pstdout.h" _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?37126> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Freeipmi-devel mailing list Freeipmi-devel@gnu.org https://lists.gnu.org/mailman/listinfo/freeipmi-devel