From 274b6bea7dcb9c11f0587a2ad23685b904c72cec Mon Sep 17 00:00:00 2001 From: Phil Knirsch Date: Thu, 21 Feb 2008 11:38:09 +0000 Subject: [PATCH] - Fix GCC 4.3 rebuild problems --- freeipmi-0.5.1-regex.patch | 13 +++++++++++++ freeipmi.spec | 11 ++++++++--- 2 files changed, 21 insertions(+), 3 deletions(-) create mode 100644 freeipmi-0.5.1-regex.patch diff --git a/freeipmi-0.5.1-regex.patch b/freeipmi-0.5.1-regex.patch new file mode 100644 index 0000000..9626a8d --- /dev/null +++ b/freeipmi-0.5.1-regex.patch @@ -0,0 +1,13 @@ +diff -up freeipmi-0.5.1/ipmipower/src/wrappers.c.regex freeipmi-0.5.1/ipmipower/src/wrappers.c +--- freeipmi-0.5.1/ipmipower/src/wrappers.c.regex 2008-02-21 12:28:52.000000000 +0100 ++++ freeipmi-0.5.1/ipmipower/src/wrappers.c 2008-02-21 12:29:33.000000000 +0100 +@@ -75,6 +75,9 @@ + #include + #include + ++#include ++#include ++ + #include "wrappers.h" + #include "cbuf.h" + #include "error.h" diff --git a/freeipmi.spec b/freeipmi.spec index 850b463..ab488f6 100644 --- a/freeipmi.spec +++ b/freeipmi.spec @@ -5,9 +5,9 @@ %define name freeipmi %define version 0.5.1 %if %{?_with_debug:1}%{!?_with_debug:0} -%define release 2.debug%{?dist} +%define release 3.debug%{?dist} %else -%define release 2%{?dist} +%define release 3%{?dist} %endif Name: %{name} @@ -17,6 +17,7 @@ License: GPLv2+ Group: Applications/System URL: http://www.gnu.org/software/freeipmi/ Source: ftp://ftp.zresearch.com/pub/freeipmi/%{version}/%{name}-%{version}.tar.gz +Patch1: freeipmi-0.5.1-regex.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libgcrypt-devel texinfo Requires(post): info @@ -35,7 +36,7 @@ Group: Development/System Requires: freeipmi = %{version}-%{release} %description devel Development package for FreeIPMI. This package includes the FreeIPMI -header files and static libraries. +header files and libraries. %package bmc-watchdog Summary: FreeIPMI BMC watchdog @@ -62,6 +63,7 @@ Provides a tool and a daemon for IPMI node detection. %prep %setup -q +%patch1 -p1 -b .regex %build %configure --program-prefix=%{?_program_prefix:%{_program_prefix}} \ @@ -284,6 +286,9 @@ fi %{_mandir}/man8/ipmidetectd.8* %changelog +* Thu Feb 21 2008 Phil Knirsch - 0.5.1-3 +- Fix GCC 4.3 rebuild problems + * Tue Feb 19 2008 Fedora Release Engineering - 0.5.1-2 - Autorebuild for GCC 4.3