summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-10-04 12:55:15 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-10-04 12:55:15 +0000
commit0d49afb3e1a7bd6ab5d83ffd1030cd20784e078d (patch)
treee6568fc5f42366ebb0eeef77bcabb3edf7f5aa0a /x11-misc/xsensors/xsensors-0.70.ebuild
parentStable on amd64 wrt bug #339053 (diff)
downloadgentoo-2-0d49afb3e1a7bd6ab5d83ffd1030cd20784e078d.tar.gz
gentoo-2-0d49afb3e1a7bd6ab5d83ffd1030cd20784e078d.tar.bz2
gentoo-2-0d49afb3e1a7bd6ab5d83ffd1030cd20784e078d.zip
Fix build wrt #339703, see ChangeLog for details
(Portage version: 2.2_rc88/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/xsensors/xsensors-0.70.ebuild')
-rw-r--r--x11-misc/xsensors/xsensors-0.70.ebuild11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11-misc/xsensors/xsensors-0.70.ebuild b/x11-misc/xsensors/xsensors-0.70.ebuild
index dc0579bf2a0d..b1b4db2e50c7 100644
--- a/x11-misc/xsensors/xsensors-0.70.ebuild
+++ b/x11-misc/xsensors/xsensors-0.70.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsensors/xsensors-0.70.ebuild,v 1.5 2010/06/26 13:27:31 nixnut Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xsensors/xsensors-0.70.ebuild,v 1.6 2010/10/04 12:55:15 ssuominen Exp $
EAPI=2
-inherit eutils
+inherit autotools eutils
DESCRIPTION="A hardware health information viewer, interface to lm-sensors."
HOMEPAGE="http://www.linuxhardware.org/xsensors/"
@@ -21,6 +21,13 @@ DEPEND="${RDEPEND}
src_prepare() {
epatch "${FILESDIR}"/${P}-gtk220.patch
+
+ sed -i \
+ -e '/-DG.*_DISABLE_DEPRECATED/d' \
+ -e 's:-Werror:-Wall:' \
+ src/Makefile.am || die
+
+ eautoreconf
}
src_install() {