forked from pool/ipmitool
Accepting request 159950 from systemsmanagement
- fix build on BE arches (ipmitool-bigendian.patch) (forwarded request 159786 from k0da) OBS-URL: https://build.opensuse.org/request/show/159950 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ipmitool?expand=0&rev=23
This commit is contained in:
commit
f7f1f4c69e
24
ipmitool-bigendian.patch
Normal file
24
ipmitool-bigendian.patch
Normal 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;
|
||||
/*
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user