From b62bb255c0a4cae9cb3fdd00f3afd9ccedd95d3e Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sun, 9 Aug 2009 18:18:30 +0000 Subject: Fix building with GCC 4.4+ wrt #277561. (Portage version: 2.2_rc36/cvs/Linux x86_64) --- x11-misc/fireflies/ChangeLog | 8 ++++++-- x11-misc/fireflies/files/fireflies-2.07-gcc44.patch | 12 ++++++++++++ x11-misc/fireflies/fireflies-2.07.ebuild | 3 ++- 3 files changed, 20 insertions(+), 3 deletions(-) create mode 100644 x11-misc/fireflies/files/fireflies-2.07-gcc44.patch (limited to 'x11-misc/fireflies') diff --git a/x11-misc/fireflies/ChangeLog b/x11-misc/fireflies/ChangeLog index b89cbb600675..47eee35dbf9f 100644 --- a/x11-misc/fireflies/ChangeLog +++ b/x11-misc/fireflies/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for x11-misc/fireflies -# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/ChangeLog,v 1.21 2009/04/29 18:04:38 ssuominen Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/ChangeLog,v 1.22 2009/08/09 18:18:30 ssuominen Exp $ + + 09 Aug 2009; Samuli Suominen fireflies-2.07.ebuild, + +files/fireflies-2.07-gcc44.patch: + Fix building with GCC 4.4+ wrt #277561. 29 Apr 2009; Samuli Suominen fireflies-2.07.ebuild: Fix HOMEPAGE and SRC_URI wrt #266702. diff --git a/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch b/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch new file mode 100644 index 000000000000..612a25ec280f --- /dev/null +++ b/x11-misc/fireflies/files/fireflies-2.07-gcc44.patch @@ -0,0 +1,12 @@ +diff -ur fireflies-2.07.orig/src/vroot.h fireflies-2.07/src/vroot.h +--- fireflies-2.07.orig/src/vroot.h 2005-12-09 05:07:30.000000000 +0200 ++++ fireflies-2.07/src/vroot.h 2009-08-09 21:18:40.000000000 +0300 +@@ -78,6 +78,8 @@ + "#Id: vroot.h,v 1.4 1991/09/30 19:23:16 stolcke Exp stolcke #"; + #endif + ++#include ++ + #include + #include + #include diff --git a/x11-misc/fireflies/fireflies-2.07.ebuild b/x11-misc/fireflies/fireflies-2.07.ebuild index f1f9f4b17280..bb29d7a42fa0 100644 --- a/x11-misc/fireflies/fireflies-2.07.ebuild +++ b/x11-misc/fireflies/fireflies-2.07.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/fireflies-2.07.ebuild,v 1.7 2009/04/29 18:04:38 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/fireflies/fireflies-2.07.ebuild,v 1.8 2009/08/09 18:18:30 ssuominen Exp $ inherit eutils multilib @@ -27,6 +27,7 @@ src_unpack() { sed -i -e '/gunzip/d' Makefile tar xzf libgfx-1.0.1.tar.gz epatch "${FILESDIR}"/${PN}-2.07-gcc43.patch + epatch "${FILESDIR}"/${P}-gcc44.patch } src_compile() { -- cgit v1.2.3-65-gdbad