rpms/protobuf/devel protobuf-2.0.2-includes.patch, NONE, 1.1 protobuf.spec, 1.4, 1.5
Caolan McNamara
caolanm at fedoraproject.org
Sun Mar 1 10:36:30 UTC 2009
- Previous message (by thread): rpms/diffuse/F-9 diffuse-0.2.15-desktop.patch, NONE, 1.1 diffuse.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/ETL/EL-5 ETL-0.04.12-build.patch, NONE, 1.1 ETL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: caolanm
Update of /cvs/pkgs/rpms/protobuf/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv8629
Modified Files:
protobuf.spec
Added Files:
protobuf-2.0.2-includes.patch
Log Message:
add stdio.h for sprintf, perror, etc
protobuf-2.0.2-includes.patch:
--- NEW FILE protobuf-2.0.2-includes.patch ---
diff -ru protobuf-2.0.2.orig/src/google/protobuf/compiler/command_line_interface.cc protobuf-2.0.2/src/google/protobuf/compiler/command_line_interface.cc
--- protobuf-2.0.2.orig/src/google/protobuf/compiler/command_line_interface.cc 2009-03-01 10:14:52.000000000 +0000
+++ protobuf-2.0.2/src/google/protobuf/compiler/command_line_interface.cc 2009-03-01 10:27:11.000000000 +0000
@@ -44,6 +44,7 @@
#include <errno.h>
#include <iostream>
#include <ctype.h>
+#include <stdio.h>
#include <google/protobuf/compiler/command_line_interface.h>
#include <google/protobuf/compiler/importer.h>
diff -ru protobuf-2.0.2.orig/src/google/protobuf/stubs/strutil.cc protobuf-2.0.2/src/google/protobuf/stubs/strutil.cc
--- protobuf-2.0.2.orig/src/google/protobuf/stubs/strutil.cc 2009-03-01 10:14:52.000000000 +0000
+++ protobuf-2.0.2/src/google/protobuf/stubs/strutil.cc 2009-03-01 10:15:40.000000000 +0000
@@ -35,6 +35,7 @@
#include <float.h> // FLT_DIG and DBL_DIG
#include <limits>
#include <limits.h>
+#include <stdio.h>
#ifdef _WIN32
// MSVC has only _snprintf, not snprintf.
diff -ru protobuf-2.0.2.orig/src/google/protobuf/text_format.cc protobuf-2.0.2/src/google/protobuf/text_format.cc
--- protobuf-2.0.2.orig/src/google/protobuf/text_format.cc 2009-03-01 10:14:52.000000000 +0000
+++ protobuf-2.0.2/src/google/protobuf/text_format.cc 2009-03-01 10:23:07.000000000 +0000
@@ -36,6 +36,7 @@
#include <math.h>
#include <stack>
#include <limits>
+#include <stdio.h>
#include <google/protobuf/text_format.h>
Index: protobuf.spec
===================================================================
RCS file: /cvs/pkgs/rpms/protobuf/devel/protobuf.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- protobuf.spec 27 Feb 2009 02:33:23 -0000 1.4
+++ protobuf.spec 1 Mar 2009 10:36:00 -0000 1.5
@@ -13,7 +13,7 @@
Summary: Protocol Buffers - Google's data interchange format
Name: protobuf
Version: 2.0.2
-Release: 7%{?dist}
+Release: 8%{?dist}
License: BSD
Group: Development/Libraries
Source: http://protobuf.googlecode.com/files/%{name}-%{version}.tar.bz2
@@ -23,6 +23,7 @@
Patch1: protobuf-fedora-gtest.patch
Patch2: protobuf-java-notests.patch
Patch3: protobuf-gcc-4.3.0.patch
+Patch4: protobuf-2.0.2-includes.patch
URL: http://code.google.com/p/protobuf/
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildRequires: automake autoconf libtool pkgconfig
@@ -143,6 +144,7 @@
rm -rf java/src/test
%endif
%patch3 -p0
+%patch4 -p1
%build
./autogen.sh
@@ -266,6 +268,9 @@
%endif
%changelog
+* Sun Mar 01 2009 Caolán McNamra <caolanm at redhat.com> - 2.0.2-8
+- add stdio.h for sprintf, perror, etc.
+
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2.0.2-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
- Previous message (by thread): rpms/diffuse/F-9 diffuse-0.2.15-desktop.patch, NONE, 1.1 diffuse.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/ETL/EL-5 ETL-0.04.12-build.patch, NONE, 1.1 ETL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list