From 6a7c9b62300f74676e636530038717dc67016723 Mon Sep 17 00:00:00 2001 From: Ales Ledvinka Date: Jun 03 2013 13:17:58 +0000 Subject: Resolves: #965295 build or architectures with non-pointer va_list --- diff --git a/freeipmi-1.2.7-va_list.patch b/freeipmi-1.2.7-va_list.patch new file mode 100644 index 0000000..06830af --- /dev/null +++ b/freeipmi-1.2.7-va_list.patch @@ -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; + } diff --git a/freeipmi.spec b/freeipmi.spec index 02437cc..350394d 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -3,7 +3,7 @@ Name: freeipmi Version: 1.2.7 -Release: 1%{?dist} +Release: 2%{?dist} Summary: IPMI remote console and system management software License: GPLv3+ Group: Applications/System @@ -17,6 +17,8 @@ Requires(preun): info systemd-units Requires(post): info systemd-units systemd-sysv 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 The FreeIPMI project provides "Remote-Console" (out-of-band) and @@ -58,6 +60,7 @@ IPMI SEL syslog logging daemon. %prep %setup -q +%patch1 -p1 -b .va_list %build export CFLAGS="-D_GNU_SOURCE $RPM_OPT_FLAGS" @@ -346,6 +349,10 @@ fi %dir %{_localstatedir}/cache/ipmiseld %changelog +* Fri May 31 2013 Ales Ledvinka - 1.2.7-2 +- va_list portability fix. +- rpmdiff fix. + * Mon May 20 2013 Ales Ledvinka - 1.2.7-1 - Updated to freeipmi-1.2.7 - Fix sensor output errors with OEM sensors.