diff --git a/ipmitool-bigendian.patch b/ipmitool-bigendian.patch new file mode 100644 index 0000000..eade286 --- /dev/null +++ b/ipmitool-bigendian.patch @@ -0,0 +1,24 @@ +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 + #include + #include ++#include + + 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 + #include + #include ++#include + + extern int verbose; + /* diff --git a/ipmitool.changes b/ipmitool.changes index a84f218..ae10163 100644 --- a/ipmitool.changes +++ b/ipmitool.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Mar 18 11:29:30 UTC 2013 - dvaleev@suse.com + +- fix build on BE arches (ipmitool-bigendian.patch) + ------------------------------------------------------------------- Thu Feb 28 13:25:09 UTC 2013 - kkaempf@suse.com diff --git a/ipmitool.spec b/ipmitool.spec index 676a393..e9ef256 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -37,6 +37,8 @@ Patch5: ekanalyzer_fix_wrong_type_comparison.patch Patch6: fix_file_permissions.patch Patch8: several_more_compile_fixes.patch Patch9: automake-1.13.patch +#PATCH-FIX-UPSTREAM https://sourceforge.net/tracker/?func=detail&aid=3578022&group_id=95200&atid=610550 +Patch10: ipmitool-bigendian.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -68,6 +70,7 @@ and setting LAN configuration, and chassis power control. %patch6 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 %build touch INSTALL NEWS