Added missing header for gcc 4.4

This commit is contained in:
John A. Khvatov 2009-02-26 21:48:20 +00:00
parent 472356c63f
commit 4f36d1ec21
3 changed files with 17 additions and 2 deletions

10
glog-missing-header.patch Normal file
View File

@ -0,0 +1,10 @@
--- src/utilities.cc 2009-01-23 04:37:14.000000000 +0300
+++ src/utilities.cc 2009-02-27 00:18:51.000000000 +0300
@@ -3,6 +3,7 @@
#include "utilities.h"
+#include <stdio.h>
#include <signal.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>

View File

@ -1,6 +1,6 @@
Name: glog
Version: 0.2
Release: 3%{?dist}
Release: 4%{?dist}
Summary: A C++ application logging library
Group: System Environment/Libraries
@ -8,6 +8,7 @@ License: BSD
URL: http://code.google.com/p/google-glog
Source0: http://google-glog.googlecode.com/files/%{name}-%{version}.tar.gz
Patch0: glog-r38.patch
Patch1: glog-missing-header.patch
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: autoconf
@ -32,7 +33,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p0
%patch1 -p0
%build
autoconf
@ -69,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Feb 27 2009 John A. Khvatov <ivaxer@fedoraproject.org> 0.2-4
- Added missing header for gcc 4.4
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild

View File

@ -1,2 +1,3 @@
glog-0_1_2-6_fc10:HEAD:glog-0.1.2-6.fc10.src.rpm:1229343821
glog-0_2-2_fc10:HEAD:glog-0.2-2.fc10.src.rpm:1232879474
glog-0_2-4_fc10:HEAD:glog-0.2-4.fc10.src.rpm:1235684646