diff --git a/compile-fixes b/compile-fixes new file mode 100644 index 0000000..534289e --- /dev/null +++ b/compile-fixes @@ -0,0 +1,11 @@ +--- ipmitool-1.8.9/lib/ipmi_fru.c.orig 2007-03-06 23:15:36.000000000 +0100 ++++ ipmitool-1.8.9/lib/ipmi_fru.c 2007-03-08 13:02:42.000000000 +0100 +@@ -1671,7 +1671,7 @@ ipmi_fru_edit_multirec(struct ipmi_intf + fru_data = malloc(fru.size + 1); + if (fru_data == NULL) { + lprintf(LOG_ERR, " Out of memory!"); +- return; ++ return -1; + } + memset(fru_data, 0, fru.size + 1); + diff --git a/ipmitool.changes b/ipmitool.changes index cc909a7..a0f2aab 100644 --- a/ipmitool.changes +++ b/ipmitool.changes @@ -1,8 +1,13 @@ +------------------------------------------------------------------- +Thu Mar 8 12:58:37 CET 2007 - duwe@suse.de + +- add new compile fixes + ------------------------------------------------------------------- Wed Mar 7 14:02:54 CET 2007 - duwe@suse.de - update to 1.8.9, fixing ipmievd crashing. - This was requested in Bug#246456 + This was requesten in Bug#246456 ------------------------------------------------------------------- Fri Oct 13 15:07:13 CEST 2006 - duwe@suse.de diff --git a/ipmitool.spec b/ipmitool.spec index 4900082..7730891 100644 --- a/ipmitool.spec +++ b/ipmitool.spec @@ -15,12 +15,11 @@ BuildRequires: openssl-devel readline-devel URL: http://ipmitool.sourceforge.net/ Summary: Utility for IPMI Control Version: 1.8.9 -Release: 1 +Release: 2 License: BSD License and BSD-like Group: System/Management Source: http://heanet.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 -# Patch: ipmitool-CVS-2006-10-13.patch -# Patch2: ipmitool-cvs-compile-fixes +Patch: compile-fixes BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -43,8 +42,7 @@ and setting LAN configuration, and chassis power control. %prep %setup -# %patch -p1 -# %patch2 -p1 +%patch -p1 %build CFLAGS="$RPM_OPT_FLAGS" ./configure \ @@ -76,9 +74,11 @@ rm -rf $RPM_BUILD_ROOT %doc %{_mandir}/man8/* %changelog +* Thu Mar 08 2007 - duwe@suse.de +- add new compile fixes * Wed Mar 07 2007 - duwe@suse.de - update to 1.8.9, fixing ipmievd crashing. - This was requested in Bug#246456 + This was requesten in Bug#246456 * Fri Oct 13 2006 - duwe@suse.de - update to today's CVS state * might fix SoL issues (Fate #30911)