From 118a1b8a909199aaeb93620e99381bc84f48f35b3b36e969a6f65ad6c9bedefb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Klaus=20K=C3=A4mpf?= Date: Tue, 19 Mar 2013 10:24:43 +0000 Subject: [PATCH] Accepting request 159786 from home:k0da:ppc - 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 --- ipmitool-bigendian.patch | 24 ++++++++++++++++++++++++ ipmitool.changes | 5 +++++ ipmitool.spec | 3 +++ 3 files changed, 32 insertions(+) create mode 100644 ipmitool-bigendian.patch 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