diff --git a/gmp-4.2.2-cstdio.patch b/gmp-4.2.2-cstdio.patch new file mode 100644 index 0000000..b93e816 --- /dev/null +++ b/gmp-4.2.2-cstdio.patch @@ -0,0 +1,11 @@ +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 /* for std::istream, std::ostream, std::string */ ++#include + #endif + + diff --git a/gmp.spec b/gmp.spec index 0d2b04f..212f5ae 100644 --- a/gmp.spec +++ b/gmp.spec @@ -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 @@ in applications. %setup -q %patch0 -p1 %patch2 -p1 +%patch3 -p1 -b .std libtoolize --force @@ -197,6 +199,9 @@ exit 0 %changelog +* Wed Feb 13 2008 Ivana varekova 4.2.2-6 +- fix gcc-4.3 problem - add (#432336) + * Fri Feb 8 2008 Ivana Varekova 4.2.2-5 - split the devel subpackage to devel and static parts