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
This commit is contained in:
Klaus Kämpf 2013-03-19 10:24:43 +00:00 committed by Git OBS Bridge
parent 7f9f23064f
commit 118a1b8a90
3 changed files with 32 additions and 0 deletions

24
ipmitool-bigendian.patch Normal file
View File

@ -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 <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;
/*

View File

@ -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 Thu Feb 28 13:25:09 UTC 2013 - kkaempf@suse.com

View File

@ -37,6 +37,8 @@ Patch5: ekanalyzer_fix_wrong_type_comparison.patch
Patch6: fix_file_permissions.patch Patch6: fix_file_permissions.patch
Patch8: several_more_compile_fixes.patch Patch8: several_more_compile_fixes.patch
Patch9: automake-1.13.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 BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
@ -68,6 +70,7 @@ and setting LAN configuration, and chassis power control.
%patch6 -p1 %patch6 -p1
%patch8 -p1 %patch8 -p1
%patch9 -p1 %patch9 -p1
%patch10 -p1
%build %build
touch INSTALL NEWS touch INSTALL NEWS