Resolves: #965295 build or architectures with non-pointer va_list
This commit is contained in:
parent
b080461d09
commit
6a7c9b6230
18
freeipmi-1.2.7-va_list.patch
Normal file
18
freeipmi-1.2.7-va_list.patch
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
diff -up ./common/toolcommon/pstdout.c.vaty ./common/toolcommon/pstdout.c
|
||||||
|
--- ./common/toolcommon/pstdout.c.vaty 2013-05-30 16:04:27.461099744 +0200
|
||||||
|
+++ ./common/toolcommon/pstdout.c 2013-05-30 16:04:36.516115447 +0200
|
||||||
|
@@ -761,12 +761,12 @@ pstdout_vprintf(pstdout_state_t pstate,
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (!ap)
|
||||||
|
+/* if (!ap)
|
||||||
|
{
|
||||||
|
pstdout_errnum = PSTDOUT_ERR_PARAMETERS;
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
-
|
||||||
|
+*/
|
||||||
|
rv = _pstdout_print(pstate, 0, stdout, format, ap);
|
||||||
|
return rv;
|
||||||
|
}
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
Name: freeipmi
|
Name: freeipmi
|
||||||
Version: 1.2.7
|
Version: 1.2.7
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: IPMI remote console and system management software
|
Summary: IPMI remote console and system management software
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Group: Applications/System
|
Group: Applications/System
|
||||||
@ -17,6 +17,8 @@ Requires(preun): info systemd-units
|
|||||||
Requires(post): info systemd-units systemd-sysv
|
Requires(post): info systemd-units systemd-sysv
|
||||||
Requires(postun): systemd-units
|
Requires(postun): systemd-units
|
||||||
|
|
||||||
|
# http://lists.gnu.org/archive/html/freeipmi-devel/2013-05/msg00027.html
|
||||||
|
Patch1: freeipmi-1.2.7-va_list.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The FreeIPMI project provides "Remote-Console" (out-of-band) and
|
The FreeIPMI project provides "Remote-Console" (out-of-band) and
|
||||||
@ -58,6 +60,7 @@ IPMI SEL syslog logging daemon.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch1 -p1 -b .va_list
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS"
|
export CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS"
|
||||||
@ -346,6 +349,10 @@ fi
|
|||||||
%dir %{_localstatedir}/cache/ipmiseld
|
%dir %{_localstatedir}/cache/ipmiseld
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 31 2013 Ales Ledvinka <aledvink@redhat.com> - 1.2.7-2
|
||||||
|
- va_list portability fix.
|
||||||
|
- rpmdiff fix.
|
||||||
|
|
||||||
* Mon May 20 2013 Ales Ledvinka <aledvink@redhat.com> - 1.2.7-1
|
* Mon May 20 2013 Ales Ledvinka <aledvink@redhat.com> - 1.2.7-1
|
||||||
- Updated to freeipmi-1.2.7
|
- Updated to freeipmi-1.2.7
|
||||||
- Fix sensor output errors with OEM sensors.
|
- Fix sensor output errors with OEM sensors.
|
||||||
|
Loading…
Reference in New Issue
Block a user