summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Alfredsen <loki_val@gentoo.org>2008-10-21 15:02:12 +0000
committerPeter Alfredsen <loki_val@gentoo.org>2008-10-21 15:02:12 +0000
commite157253544261cb454dcdfc00b5707234870a4a4 (patch)
treebf5034654fdc808b43996c336f99dae80530f843 /net-mail/gnubiff
parentManifest. (diff)
downloadgentoo-2-e157253544261cb454dcdfc00b5707234870a4a4.tar.gz
gentoo-2-e157253544261cb454dcdfc00b5707234870a4a4.tar.bz2
gentoo-2-e157253544261cb454dcdfc00b5707234870a4a4.zip
Fix compilation with gcc-4.3. Bug 235320. Thanks to A. Frederick Christensen <christendoc@nosocomia.com>.
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-rc8 x86_64)
Diffstat (limited to 'net-mail/gnubiff')
-rw-r--r--net-mail/gnubiff/ChangeLog7
-rw-r--r--net-mail/gnubiff/files/gnubiff-2.2.10-gcc43.patch33
-rw-r--r--net-mail/gnubiff/gnubiff-2.2.10.ebuild5
3 files changed, 42 insertions, 3 deletions
diff --git a/net-mail/gnubiff/ChangeLog b/net-mail/gnubiff/ChangeLog
index eae587c3717d..a7e4dfafe3e8 100644
--- a/net-mail/gnubiff/ChangeLog
+++ b/net-mail/gnubiff/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-mail/gnubiff
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/ChangeLog,v 1.20 2008/06/10 18:41:17 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/ChangeLog,v 1.21 2008/10/21 15:02:12 loki_val Exp $
+
+ 21 Oct 2008; Peter Alfredsen <loki_val@gentoo.org>
+ +files/gnubiff-2.2.10-gcc43.patch, gnubiff-2.2.10.ebuild:
+ Fix compilation with gcc-4.3. Bug 235320. Thanks to A. Frederick
+ Christensen <christendoc@nosocomia.com>.
10 Jun 2008; Tobias Scherbaum <dertobi123@gentoo.org>
gnubiff-2.2.10.ebuild:
diff --git a/net-mail/gnubiff/files/gnubiff-2.2.10-gcc43.patch b/net-mail/gnubiff/files/gnubiff-2.2.10-gcc43.patch
new file mode 100644
index 000000000000..9787a70269b2
--- /dev/null
+++ b/net-mail/gnubiff/files/gnubiff-2.2.10-gcc43.patch
@@ -0,0 +1,33 @@
+diff -r -u srcORIG/gnubiff.cc src/gnubiff.cc
+--- srcORIG/gnubiff.cc 2008-08-20 18:19:20.000000000 -0500
++++ src/gnubiff.cc 2008-08-20 18:13:07.000000000 -0500
+@@ -43,6 +43,7 @@
+ #include "ui-preferences.h"
+ #include "ui-applet.h"
+ #include "ui-applet-gtk.h"
++#include <stdlib.h>
+
+ int main (int argc, char **argv);
+ int mainGNOME (int argc, char **argv);
+diff -r -u srcORIG/gui.cc src/gui.cc
+--- srcORIG/gui.cc 2008-08-20 18:19:20.000000000 -0500
++++ src/gui.cc 2008-08-20 18:13:07.000000000 -0500
+@@ -33,6 +33,7 @@
+ #include <gmodule.h>
+ #include "gtk_image_animation.h"
+ #include "gui.h"
++#include <stdlib.h>
+
+
+ /**
+diff -r -u srcORIG/signals.cc src/signals.cc
+--- srcORIG/signals.cc 2008-08-20 18:19:20.000000000 -0500
++++ src/signals.cc 2008-08-20 18:13:07.000000000 -0500
+@@ -32,6 +32,7 @@
+ #include "signals.h"
+ #include "ui-applet.h"
+ #include "ui-applet-gui.h"
++#include <stdlib.h>
+
+ /// Pointer to biff
+ class Biff *Signals::biff_ = NULL;
diff --git a/net-mail/gnubiff/gnubiff-2.2.10.ebuild b/net-mail/gnubiff/gnubiff-2.2.10.ebuild
index 8a95044552e1..de0839f4c7e8 100644
--- a/net-mail/gnubiff/gnubiff-2.2.10.ebuild
+++ b/net-mail/gnubiff/gnubiff-2.2.10.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/gnubiff-2.2.10.ebuild,v 1.2 2008/06/10 18:41:17 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-mail/gnubiff/gnubiff-2.2.10.ebuild,v 1.3 2008/10/21 15:02:12 loki_val Exp $
-inherit eutils
+inherit base eutils
DESCRIPTION="A mail notification program"
HOMEPAGE="http://gnubiff.sourceforge.net/"
@@ -23,6 +23,7 @@ RDEPEND=">=x11-libs/gtk+-2.4
x11-proto/xproto"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
+PATCHES="${FILESDIR}/${P}-gcc43.patch"
src_compile() {
econf $(use_enable debug) \