rpms/gmp/devel gmp-4.2.2-cstdio.patch,NONE,1.1 gmp.spec,1.48,1.49

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Wed Feb 13 09:12:45 UTC 2008


Author: varekova

Update of /cvs/pkgs/rpms/gmp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv31668

Modified Files:
	gmp.spec 
Added Files:
	gmp-4.2.2-cstdio.patch 
Log Message:
- fix gcc-4.3 problem - add <cstdio> (#432336)


gmp-4.2.2-cstdio.patch:

--- NEW FILE gmp-4.2.2-cstdio.patch ---
diff -up gmp-4.2.2/gmp-h.in.pom gmp-4.2.2/gmp-h.in
--- gmp-4.2.2/gmp-h.in.pom	2007-09-03 18:05:40.000000000 +0200
+++ gmp-4.2.2/gmp-h.in	2008-02-13 09:53:48.000000000 +0100
@@ -22,6 +22,7 @@ along with the GNU MP Library.  If not, 
 
 #if defined (__cplusplus)
 #include <iosfwd>   /* for std::istream, std::ostream, std::string */
+#include <cstdio>
 #endif
 
 


Index: gmp.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gmp/devel/gmp.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- gmp.spec	8 Feb 2008 10:58:05 -0000	1.48
+++ gmp.spec	13 Feb 2008 09:12:08 -0000	1.49
@@ -8,13 +8,14 @@
 Summary: A GNU arbitrary precision library
 Name: gmp
 Version: 4.2.2
-Release: 5%{?dist}
+Release: 6%{?dist}
 URL: http://gmplib.org/
 Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
 Source2: gmp.h
 Source3: gmp-mparam.h
 Patch0: gmp-4.0.1-s390.patch
 Patch2: gmp-4.1.2-autoconf.patch
+Patch3: gmp-4.2.2-cstdio.patch
 License: LGPLv3+
 Group: System Environment/Libraries
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -62,6 +63,7 @@
 %setup -q 
 %patch0 -p1
 %patch2 -p1
+%patch3 -p1 -b .std
 
 libtoolize --force
 
@@ -197,6 +199,9 @@
 
 
 %changelog
+* Wed Feb 13 2008 Ivana varekova <varekova at redhat.com> 4.2.2-6
+- fix gcc-4.3 problem - add <cstdio> (#432336)
+
 * Fri Feb  8 2008 Ivana Varekova <varekova at redhat.com> 4.2.2-5
 - split the devel subpackage to devel and static parts
 




More information about the fedora-extras-commits mailing list