From 89470297a80142e2dc3dc27b2a148f210b7b06df Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 11 May 2008 21:56:09 +0000 Subject: gcc 4.3 build fix by Martin Väth , bug #218013 (Portage version: 2.1.5_rc10) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- media-gfx/pstoedit/ChangeLog | 7 ++++++- media-gfx/pstoedit/files/pstoedit-3.45-gcc-4.3.patch | 11 +++++++++++ media-gfx/pstoedit/pstoedit-3.45.ebuild | 3 ++- 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 media-gfx/pstoedit/files/pstoedit-3.45-gcc-4.3.patch (limited to 'media-gfx/pstoedit') diff --git a/media-gfx/pstoedit/ChangeLog b/media-gfx/pstoedit/ChangeLog index 3704d17d3236..95defff3a699 100644 --- a/media-gfx/pstoedit/ChangeLog +++ b/media-gfx/pstoedit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-gfx/pstoedit # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/ChangeLog,v 1.51 2008/03/17 12:45:49 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/ChangeLog,v 1.52 2008/05/11 21:56:08 aballier Exp $ + + 11 May 2008; Alexis Ballier + +files/pstoedit-3.45-gcc-4.3.patch, pstoedit-3.45.ebuild: + gcc 4.3 build fix by Martin Väth , bug + #218013 17 Mar 2008; Alexis Ballier pstoedit-3.45.ebuild: dont use -pedantic for building as 'long long' used by latest imagemagick diff --git a/media-gfx/pstoedit/files/pstoedit-3.45-gcc-4.3.patch b/media-gfx/pstoedit/files/pstoedit-3.45-gcc-4.3.patch new file mode 100644 index 000000000000..3bec05e69e6e --- /dev/null +++ b/media-gfx/pstoedit/files/pstoedit-3.45-gcc-4.3.patch @@ -0,0 +1,11 @@ +--- src/cppcomp.h ++++ src/cppcomp.h +@@ -122,6 +122,8 @@ + #define I_iomanip + #define I_ios + #define I_iostream ++#include ++#include + + #if (defined (_MSC_VER) && _MSC_VER >= 1100) + // 1100 is version 5.0 diff --git a/media-gfx/pstoedit/pstoedit-3.45.ebuild b/media-gfx/pstoedit/pstoedit-3.45.ebuild index f11c6cef1d1f..8ec1c8d871a2 100644 --- a/media-gfx/pstoedit/pstoedit-3.45.ebuild +++ b/media-gfx/pstoedit/pstoedit-3.45.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/media-gfx/pstoedit/pstoedit-3.45.ebuild,v 1.10 2008/03/17 12:45:49 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/pstoedit/pstoedit-3.45.ebuild,v 1.11 2008/05/11 21:56:08 aballier Exp $ inherit base eutils @@ -40,6 +40,7 @@ src_unpack() { # Fails due to imagemagick having 'long long' in its headers (at least in # 6.3.9.8). sed -i -e "s/-pedantic //" configure + epatch "${FILESDIR}/${P}-gcc-4.3.patch" } src_compile() { -- cgit v1.2.3-65-gdbad