diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-10 12:10:11 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-10 12:10:11 +0000 |
commit | 7abb7655fa3c2377f4ff62da10a6548064f9bcb9 (patch) | |
tree | 19cd1daa2dbbba0fb48c9251fdc6dec87d87af19 /sys-libs | |
parent | Version bump (diff) | |
download | gentoo-2-7abb7655fa3c2377f4ff62da10a6548064f9bcb9.tar.gz gentoo-2-7abb7655fa3c2377f4ff62da10a6548064f9bcb9.tar.bz2 gentoo-2-7abb7655fa3c2377f4ff62da10a6548064f9bcb9.zip |
Fix building with GCC 4.4+ by removing -Werror wrt #277765.
(Portage version: 2.2_rc36/cvs/Linux x86_64)
Diffstat (limited to 'sys-libs')
-rw-r--r-- | sys-libs/openhpi/ChangeLog | 5 | ||||
-rw-r--r-- | sys-libs/openhpi/openhpi-2.12.0.ebuild | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-libs/openhpi/ChangeLog b/sys-libs/openhpi/ChangeLog index e50464611255..eac1631686c3 100644 --- a/sys-libs/openhpi/ChangeLog +++ b/sys-libs/openhpi/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-libs/openhpi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/ChangeLog,v 1.5 2009/06/28 19:27:05 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/ChangeLog,v 1.6 2009/08/10 12:10:11 ssuominen Exp $ + + 10 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> openhpi-2.12.0.ebuild: + Fix building with GCC 4.4+ by removing -Werror wrt #277765. *openhpi-2.12.0 (28 Jun 2009) diff --git a/sys-libs/openhpi/openhpi-2.12.0.ebuild b/sys-libs/openhpi/openhpi-2.12.0.ebuild index 70149cdf5482..aa26a0081a11 100644 --- a/sys-libs/openhpi/openhpi-2.12.0.ebuild +++ b/sys-libs/openhpi/openhpi-2.12.0.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/sys-libs/openhpi/openhpi-2.12.0.ebuild,v 1.1 2009/06/28 19:27:05 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/openhpi/openhpi-2.12.0.ebuild,v 1.2 2009/08/10 12:10:11 ssuominen Exp $ inherit eutils @@ -25,6 +25,11 @@ DEPEND="${COMMONDEPEND} >=sys-devel/gcc-3.2.0 virtual/os-headers" +src_unpack() { + unpack ${A} + sed -i -e 's:-Werror::g' "${S}"/configure || die "sed failed" +} + src_compile() { econf --with-varpath=/var/lib/openhpi \ --enable-clients \ |