- fix gcc-4.3 problem - add <cstdio> (#432336)
This commit is contained in:
parent
2b14a4665c
commit
c26ffb5a7c
11
gmp-4.2.2-cstdio.patch
Normal file
11
gmp-4.2.2-cstdio.patch
Normal file
@ -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 <iosfwd> /* for std::istream, std::ostream, std::string */
|
||||||
|
+#include <cstdio>
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
7
gmp.spec
7
gmp.spec
@ -8,13 +8,14 @@
|
|||||||
Summary: A GNU arbitrary precision library
|
Summary: A GNU arbitrary precision library
|
||||||
Name: gmp
|
Name: gmp
|
||||||
Version: 4.2.2
|
Version: 4.2.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
URL: http://gmplib.org/
|
URL: http://gmplib.org/
|
||||||
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
Source0: ftp://ftp.gnu.org/pub/gnu/gmp/gmp-%{version}.tar.bz2
|
||||||
Source2: gmp.h
|
Source2: gmp.h
|
||||||
Source3: gmp-mparam.h
|
Source3: gmp-mparam.h
|
||||||
Patch0: gmp-4.0.1-s390.patch
|
Patch0: gmp-4.0.1-s390.patch
|
||||||
Patch2: gmp-4.1.2-autoconf.patch
|
Patch2: gmp-4.1.2-autoconf.patch
|
||||||
|
Patch3: gmp-4.2.2-cstdio.patch
|
||||||
License: LGPLv3+
|
License: LGPLv3+
|
||||||
Group: System Environment/Libraries
|
Group: System Environment/Libraries
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -62,6 +63,7 @@ in applications.
|
|||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
%patch2 -p1
|
%patch2 -p1
|
||||||
|
%patch3 -p1 -b .std
|
||||||
|
|
||||||
libtoolize --force
|
libtoolize --force
|
||||||
|
|
||||||
@ -197,6 +199,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Feb 13 2008 Ivana varekova <varekova@redhat.com> 4.2.2-6
|
||||||
|
- fix gcc-4.3 problem - add <cstdio> (#432336)
|
||||||
|
|
||||||
* Fri Feb 8 2008 Ivana Varekova <varekova@redhat.com> 4.2.2-5
|
* Fri Feb 8 2008 Ivana Varekova <varekova@redhat.com> 4.2.2-5
|
||||||
- split the devel subpackage to devel and static parts
|
- split the devel subpackage to devel and static parts
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user