forked from pool/ipmitool
118a1b8a90
- fix build on BE arches (ipmitool-bigendian.patch) OBS-URL: https://build.opensuse.org/request/show/159786 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement/ipmitool?expand=0&rev=14
25 lines
718 B
Diff
25 lines
718 B
Diff
Index: ipmitool-1.8.12/lib/ipmi_chassis.c
|
|
===================================================================
|
|
--- ipmitool-1.8.12.orig/lib/ipmi_chassis.c
|
|
+++ ipmitool-1.8.12/lib/ipmi_chassis.c
|
|
@@ -41,6 +41,7 @@
|
|
#include <ipmitool/ipmi_intf.h>
|
|
#include <ipmitool/ipmi_strings.h>
|
|
#include <ipmitool/ipmi_chassis.h>
|
|
+#include <ipmitool/bswap.h>
|
|
|
|
extern int verbose;
|
|
|
|
Index: ipmitool-1.8.12/lib/ipmi_pef.c
|
|
===================================================================
|
|
--- ipmitool-1.8.12.orig/lib/ipmi_pef.c
|
|
+++ ipmitool-1.8.12/lib/ipmi_pef.c
|
|
@@ -39,6 +39,7 @@
|
|
#include <ipmitool/ipmi.h>
|
|
#include <ipmitool/ipmi_intf.h>
|
|
#include <ipmitool/ipmi_pef.h>
|
|
+#include <ipmitool/bswap.h>
|
|
|
|
extern int verbose;
|
|
/*
|