fix build on big endian arches
This commit is contained in:
parent
66c70b753d
commit
b7c66c7bea
22
ipmitool-1.8.12-bigendian.patch
Normal file
22
ipmitool-1.8.12-bigendian.patch
Normal file
@ -0,0 +1,22 @@
|
||||
diff -up ipmitool-1.8.12/lib/ipmi_chassis.c.bigendian ipmitool-1.8.12/lib/ipmi_chassis.c
|
||||
--- ipmitool-1.8.12/lib/ipmi_chassis.c.bigendian 2012-09-04 16:01:55.000000000 +0200
|
||||
+++ ipmitool-1.8.12/lib/ipmi_chassis.c 2012-09-04 16:02:20.000000000 +0200
|
||||
@@ -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;
|
||||
|
||||
diff -up ipmitool-1.8.12/lib/ipmi_pef.c.bigendian ipmitool-1.8.12/lib/ipmi_pef.c
|
||||
--- ipmitool-1.8.12/lib/ipmi_pef.c.bigendian 2012-09-04 16:02:05.000000000 +0200
|
||||
+++ ipmitool-1.8.12/lib/ipmi_pef.c 2012-09-04 16:02:30.000000000 +0200
|
||||
@@ -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,7 +1,7 @@
|
||||
Name: ipmitool
|
||||
Summary: Utility for IPMI control
|
||||
Version: 1.8.12
|
||||
Release: 2%{?dist}
|
||||
Release: 3%{?dist}
|
||||
License: BSD
|
||||
Group: System Environment/Base
|
||||
URL: http://ipmitool.sourceforge.net/
|
||||
@ -21,6 +21,8 @@ Patch1: ipmitool-1.8.10-ipmievd-init.patch
|
||||
Patch2: ipmitool-1.8.10-ipmievd-condrestart.patch
|
||||
Patch3: ipmitool-1.8.11-remove-umask0.patch
|
||||
Patch4: ipmitool-1.8.11-systemd.patch
|
||||
# https://sourceforge.net/tracker/index.php?func=detail&aid=3564701&group_id=95200&atid=610550
|
||||
Patch5: ipmitool-1.8.12-bigendian.patch
|
||||
|
||||
%description
|
||||
This package contains a utility for interfacing with devices that support
|
||||
@ -44,6 +46,7 @@ setting LAN configuration, and chassis power control.
|
||||
%patch2 -p0 -b .condrestart
|
||||
%patch3 -p1 -b .umask
|
||||
%patch4 -p1 -b .systemd
|
||||
%patch5 -p1 -b .bigendian
|
||||
|
||||
for f in AUTHORS ChangeLog; do
|
||||
iconv -f iso-8859-1 -t utf8 < ${f} > ${f}.utf8
|
||||
@ -94,6 +97,9 @@ install -Dpm 644 %{SOURCE1} %{buildroot}%{_sysconfdir}/sysconfig/ipmievd
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 04 2012 Dan Horák <dan[at]danny.cz> - 1.8.12-3
|
||||
- fix build on big endian arches
|
||||
|
||||
* Mon Aug 27 2012 Jan Safranek <jsafrane@redhat.com> - 1.8.12-2
|
||||
- Fixed starting ipmievd under systemd (#819234).
|
||||
- Updated RPM scriplets with latest systemd-rpm macros (#850161)
|
||||
|
Loading…
Reference in New Issue
Block a user