From dbb4a8c6bc27650e0625c7189d166005dc77960d Mon Sep 17 00:00:00 2001 From: Patrick Lauer Date: Fri, 3 Apr 2009 16:00:48 +0000 Subject: Fixing gcc4.3 compile failure, patch by Magnus Granberg. Fixes #260849 (Portage version: 2.2_rc28/cvs/Linux x86_64) --- gnome-extra/drwright/ChangeLog | 8 ++++++-- gnome-extra/drwright/drwright-0.17.ebuild | 8 +++++--- gnome-extra/drwright/files/drwright-remowe-Werror.patch | 11 +++++++++++ 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 gnome-extra/drwright/files/drwright-remowe-Werror.patch (limited to 'gnome-extra/drwright') diff --git a/gnome-extra/drwright/ChangeLog b/gnome-extra/drwright/ChangeLog index 0a2c99350081..ec4e4eadf131 100644 --- a/gnome-extra/drwright/ChangeLog +++ b/gnome-extra/drwright/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for gnome-extra/drwright -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/drwright/ChangeLog,v 1.13 2008/05/05 21:39:56 eva Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/drwright/ChangeLog,v 1.14 2009/04/03 16:00:48 patrick Exp $ + + 03 Apr 2009; Patrick Lauer + +files/drwright-remowe-Werror.patch, drwright-0.17.ebuild: + Fixing gcc4.3 compile failure, patch by Magnus Granberg. Fixes #260849 05 May 2008; Gilles Dartiguelongue drwright-0.17.ebuild: fix dependencies to include screensaving bits, bug #206448. diff --git a/gnome-extra/drwright/drwright-0.17.ebuild b/gnome-extra/drwright/drwright-0.17.ebuild index a567cf7e1cb2..e3edba97deff 100644 --- a/gnome-extra/drwright/drwright-0.17.ebuild +++ b/gnome-extra/drwright/drwright-0.17.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/drwright/drwright-0.17.ebuild,v 1.13 2008/05/05 21:39:56 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/drwright/drwright-0.17.ebuild,v 1.14 2009/04/03 16:00:48 patrick Exp $ -inherit gnome2 flag-o-matic toolchain-funcs +inherit gnome2 flag-o-matic toolchain-funcs eutils DESCRIPTION="A GNOME2 Applet that forces you to take regular breaks to prevent RSI." HOMEPAGE="http://www.imendio.com/projects/drwright/" @@ -31,4 +31,6 @@ src_unpack() { # get rid of strict-aliasing warnings sed -i -e 's/-Wall//' src/Makefile.{in,am} + cd "${S}" + epatch "${FILESDIR}/drwright-remowe-Werror.patch" } diff --git a/gnome-extra/drwright/files/drwright-remowe-Werror.patch b/gnome-extra/drwright/files/drwright-remowe-Werror.patch new file mode 100644 index 000000000000..c9824247ba7c --- /dev/null +++ b/gnome-extra/drwright/files/drwright-remowe-Werror.patch @@ -0,0 +1,11 @@ +--- src/Makefile.in 2009-03-05 12:45:12.000000000 +0000 ++++ src/Makefile.in 2009-03-05 12:52:44.000000000 +0000 +@@ -133,7 +133,7 @@ + USE_NLS = @USE_NLS@ + VERSION = @VERSION@ + +-INCLUDES = @DRWRIGHT_CFLAGS@ -DGLADEDIR=\"$(datadir)/drwright\" -DIMAGEDIR=\"$(datadir)/drwright\" -Werror ++INCLUDES = @DRWRIGHT_CFLAGS@ -DGLADEDIR=\"$(datadir)/drwright\" -DIMAGEDIR=\"$(datadir)/drwright\" + + + bin_PROGRAMS = drwright -- cgit v1.2.3-65-gdbad