From 67f9f3be8d64165bb57648215d36d044700fe7f2 Mon Sep 17 00:00:00 2001 From: Markus Meier Date: Wed, 8 Oct 2008 18:55:16 +0000 Subject: fix building with gcc-4.3, bug #239758 (Portage version: 2.2_rc11/cvs/Linux 2.6.27-rc8 i686) --- media-gfx/gimmage/ChangeLog | 6 +++++- media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch | 11 +++++++++++ media-gfx/gimmage/gimmage-0.2.3.ebuild | 10 +++++++++- 3 files changed, 25 insertions(+), 2 deletions(-) create mode 100644 media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch (limited to 'media-gfx/gimmage') diff --git a/media-gfx/gimmage/ChangeLog b/media-gfx/gimmage/ChangeLog index f81293a33333..65fcd5389d7e 100644 --- a/media-gfx/gimmage/ChangeLog +++ b/media-gfx/gimmage/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/gimmage # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/ChangeLog,v 1.10 2008/05/02 16:10:42 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/ChangeLog,v 1.11 2008/10/08 18:55:16 maekke Exp $ + + 08 Oct 2008; Markus Meier + +files/gimmage-0.2.3-gcc43.patch, gimmage-0.2.3.ebuild: + fix building with gcc-4.3, bug #239758 02 May 2008; Samuli Suominen gimmage-0.2.3.ebuild: Use berlios mirrors:// diff --git a/media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch b/media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch new file mode 100644 index 000000000000..7dd6686c1314 --- /dev/null +++ b/media-gfx/gimmage/files/gimmage-0.2.3-gcc43.patch @@ -0,0 +1,11 @@ +--- gimmage-0.2.3/src/FileManager.cpp~ 2007-06-26 15:51:15.000000000 +0200 ++++ gimmage-0.2.3/src/FileManager.cpp 2008-02-16 13:58:34.000000000 +0100 +@@ -21,6 +21,8 @@ + + // we make extensive use of get_current_dir_name() from Glib + ++#include ++ + #include "FileManager.h" + #include "defines.h" + diff --git a/media-gfx/gimmage/gimmage-0.2.3.ebuild b/media-gfx/gimmage/gimmage-0.2.3.ebuild index 3b63aa02bc25..2b843ab0c634 100644 --- a/media-gfx/gimmage/gimmage-0.2.3.ebuild +++ b/media-gfx/gimmage/gimmage-0.2.3.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.4 2008/05/02 16:10:42 drac Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/gimmage/gimmage-0.2.3.ebuild,v 1.5 2008/10/08 18:55:16 maekke Exp $ + +inherit eutils DESCRIPTION="A slim GTK-based image browser" HOMEPAGE="http://gimmage.berlios.de/" @@ -19,6 +21,12 @@ DEPEND="${RDEPEND} sys-devel/gettext dev-util/pkgconfig" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gcc43.patch +} + src_compile() { econf $(use_enable debug) || die "econf failed" emake || die "emake failed" -- cgit v1.2.3-65-gdbad