diff options
author | Sven Wegener <swegener@gentoo.org> | 2008-06-14 18:58:09 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2008-06-14 18:58:09 +0000 |
commit | 154b317e663cc7fb221d56e2021c65b7d65d9b1e (patch) | |
tree | 8fd982d26bc312bc0e1809b9f5925ed5579a63e9 /dev-cpp | |
parent | amd64 stable wrt bug #225621 (diff) | |
download | gentoo-2-154b317e663cc7fb221d56e2021c65b7d65d9b1e.tar.gz gentoo-2-154b317e663cc7fb221d56e2021c65b7d65d9b1e.tar.bz2 gentoo-2-154b317e663cc7fb221d56e2021c65b7d65d9b1e.zip |
Add compability patch for gcc-4.3.
(Portage version: 2.1.5.5)
Diffstat (limited to 'dev-cpp')
-rw-r--r-- | dev-cpp/libpqpp/ChangeLog | 6 | ||||
-rw-r--r-- | dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch | 13 | ||||
-rw-r--r-- | dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild | 3 |
3 files changed, 20 insertions, 2 deletions
diff --git a/dev-cpp/libpqpp/ChangeLog b/dev-cpp/libpqpp/ChangeLog index fa7fabd609b0..7e379c50f7ab 100644 --- a/dev-cpp/libpqpp/ChangeLog +++ b/dev-cpp/libpqpp/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-cpp/libpqpp # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.20 2008/05/19 18:06:22 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/ChangeLog,v 1.21 2008/06/14 18:58:08 swegener Exp $ + + 14 Jun 2008; Sven Wegener <swegener@gentoo.org> + +files/libpqpp-4.0-gcc-4.3.patch, libpqpp-4.0-r6.ebuild: + Add compability patch for gcc-4.3. 19 May 2008; Tiziano Müller <dev-zero@gentoo.org> -files/libpqpp-4.0-PIC.patch, -libpqpp-4.0-r4.ebuild, diff --git a/dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch b/dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch new file mode 100644 index 000000000000..5004557eefdc --- /dev/null +++ b/dev-cpp/libpqpp/files/libpqpp-4.0-gcc-4.3.patch @@ -0,0 +1,13 @@ +gcc-4.3 no longer includes this by default. + +--- libpq++-4.0/pgdatabase.cc ++++ libpq++-4.0/pgdatabase.cc +@@ -15,6 +15,8 @@ + *------------------------------------------------------------------------- + */ + ++#include <cstdlib> ++ + #include "pgdatabase.h" + + #ifdef HAVE_NAMESPACE_STD diff --git a/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild b/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild index 69d1db17b176..addc66eb1477 100644 --- a/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild +++ b/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild,v 1.7 2008/05/19 18:06:22 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/libpqpp/libpqpp-4.0-r6.ebuild,v 1.8 2008/06/14 18:58:08 swegener Exp $ inherit eutils toolchain-funcs multilib @@ -25,6 +25,7 @@ src_unpack() { cd "${S}" epatch "${FILESDIR}/${P}-gentoo.patch" epatch "${FILESDIR}/${P}-Makefile.patch" + epatch "${FILESDIR}/${P}-gcc-4.3.patch" } src_compile() { |