diff --git a/gflags-1.0-gcc44.patch b/gflags-1.0-gcc44.patch new file mode 100644 index 0000000..040328a --- /dev/null +++ b/gflags-1.0-gcc44.patch @@ -0,0 +1,13 @@ +diff -urNp gflags-1.0.orig/src/gflags_completions.cc gflags-1.0/src/gflags_completions.cc +--- gflags-1.0.orig/src/gflags_completions.cc 2009-02-27 03:06:25.029458422 +0530 ++++ gflags-1.0/src/gflags_completions.cc 2009-02-27 03:11:06.451708527 +0530 +@@ -49,7 +49,8 @@ + + + #include "config.h" +-#include ++#include ++#include + + #include + #include diff --git a/gflags.spec b/gflags.spec index 662b7cc..1227267 100644 --- a/gflags.spec +++ b/gflags.spec @@ -2,13 +2,14 @@ Name: gflags Version: 1.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for commandline flag processing Group: Development/Tools License: BSD URL: http://code.google.com/p/google-%{name}/ Source0: http://google-%{name}.googlecode.com/files/%{name}-%{version}.tar.gz +Patch0: %{name}-1.0-gcc44.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: python-setuptools-devel @@ -30,6 +31,7 @@ This package contains development files for %{name}. %prep %setup -q -n %{name}-%{version} +%patch0 -p1 %build %configure --disable-static @@ -94,6 +96,9 @@ rm -rf $RPM_BUILD_ROOT %{_includedir}/google/*.h %changelog +* Fri Feb 27 2009 Debarshi Ray - 1.0-3 +- Fixed build failure with gcc-4.4. + * Tue Feb 24 2009 Fedora Release Engineering - 1.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild