rpms/gmp/F-8 gmp-4.2.2-cstdio.patch,NONE,1.1 gmp.spec,1.46,1.47
Ivana Varekova (varekova)
fedora-extras-commits at redhat.com
Thu Feb 14 07:57:03 UTC 2008
Author: varekova
Update of /cvs/pkgs/rpms/gmp/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv16700
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/F-8/gmp.spec,v
retrieving revision 1.46
retrieving revision 1.47
diff -u -r1.46 -r1.47
--- gmp.spec 24 Sep 2007 07:30:40 -0000 1.46
+++ gmp.spec 14 Feb 2008 07:56:16 -0000 1.47
@@ -8,13 +8,14 @@
Summary: A GNU arbitrary precision library
Name: gmp
Version: 4.2.2
-Release: 3%{?dist}
+Release: 4%{?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: LGPL
Group: System Environment/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -53,6 +54,7 @@
%setup -q
%patch0 -p1
%patch2 -p1
+%patch3 -p1 -b .std
libtoolize --force
@@ -182,6 +184,9 @@
%{_infodir}/gmp.info*
%changelog
+* Thu Feb 14 2008 Ivana Varekova <varekova at redhat.com> 4.2.2-4
+- fix gcc-4.3 problem - add <cstdio> (#432336)
+
* Mon Sep 24 2007 Ivana Varekova <varekova at redhat.com> 4.2.2-3
- fix libgmpxx.so link
More information about the fedora-extras-commits
mailing list