summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-08-09 18:18:30 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-08-09 18:18:30 +0000
commitb62bb255c0a4cae9cb3fdd00f3afd9ccedd95d3e (patch)
treeb698e1cdefa79d2705066dbfdeefc9e49f032778 /x11-misc/fireflies
parentRemove old. (diff)
downloadgentoo-2-b62bb255c0a4cae9cb3fdd00f3afd9ccedd95d3e.tar.gz
gentoo-2-b62bb255c0a4cae9cb3fdd00f3afd9ccedd95d3e.tar.bz2
gentoo-2-b62bb255c0a4cae9cb3fdd00f3afd9ccedd95d3e.zip
Fix building with GCC 4.4+ wrt #277561.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/fireflies')
-rw-r--r--x11-misc/fireflies/ChangeLog8
-rw-r--r--x11-misc/fireflies/files/fireflies-2.07-gcc44.patch12
-rw-r--r--x11-misc/fireflies/fireflies-2.07.ebuild3
3 files changed, 20 insertions, 3 deletions
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 <ssuominen@gentoo.org> fireflies-2.07.ebuild,
+ +files/fireflies-2.07-gcc44.patch:
+ Fix building with GCC 4.4+ wrt #277561.
29 Apr 2009; Samuli Suominen <ssuominen@gentoo.org> 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 <stdio.h>
++
+ #include <X11/X.h>
+ #include <X11/Xatom.h>
+ #include <X11/Xlib.h>
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() {