rpms/gflags/devel gflags-1.0-gcc44.patch, NONE, 1.1 gflags.spec, 1.4, 1.5

Debarshi Ray rishi at fedoraproject.org
Thu Feb 26 22:03:22 UTC 2009


Author: rishi

Update of /cvs/pkgs/rpms/gflags/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19657

Modified Files:
	gflags.spec 
Added Files:
	gflags-1.0-gcc44.patch 
Log Message:
* Fri Feb 27 2009 Debarshi Ray <rishi at fedoraproject.org> - 1.0-3
- Fixed build failure with gcc-4.4.


gflags-1.0-gcc44.patch:

--- NEW FILE gflags-1.0-gcc44.patch ---
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 <stdlib.h>
+#include <cstdio>
+#include <cstdlib>
 
 #include <set>
 #include <string>


Index: gflags.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gflags/devel/gflags.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- gflags.spec	24 Feb 2009 20:48:46 -0000	1.4
+++ gflags.spec	26 Feb 2009 22:02:52 -0000	1.5
@@ -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 @@
 
 %prep
 %setup -q -n %{name}-%{version}
+%patch0 -p1
 
 %build
 %configure --disable-static
@@ -94,6 +96,9 @@
 %{_includedir}/google/*.h
 
 %changelog
+* Fri Feb 27 2009 Debarshi Ray <rishi at fedoraproject.org> - 1.0-3
+- Fixed build failure with gcc-4.4.
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.0-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list