summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-04-03 16:00:48 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-04-03 16:00:48 +0000
commitdbb4a8c6bc27650e0625c7189d166005dc77960d (patch)
tree42c419131a2c9ae2939bcd8265254250b59e415e
parentgnome-media needs gnome-doc-utils (diff)
downloadgentoo-2-dbb4a8c6bc27650e0625c7189d166005dc77960d.tar.gz
gentoo-2-dbb4a8c6bc27650e0625c7189d166005dc77960d.tar.bz2
gentoo-2-dbb4a8c6bc27650e0625c7189d166005dc77960d.zip
Fixing gcc4.3 compile failure, patch by Magnus Granberg. Fixes #260849
(Portage version: 2.2_rc28/cvs/Linux x86_64)
-rw-r--r--gnome-extra/drwright/ChangeLog8
-rw-r--r--gnome-extra/drwright/drwright-0.17.ebuild8
-rw-r--r--gnome-extra/drwright/files/drwright-remowe-Werror.patch11
3 files changed, 22 insertions, 5 deletions
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 <patrick@gentoo.org>
+ +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 <eva@gentoo.org> 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