diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-07-16 07:20:03 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-07-16 07:20:03 +0000 |
commit | bf0711b7b60abb544c67c8197d329ca044a3df6c (patch) | |
tree | dabe6d74f23fc8d4ec1594750e645d789a9fd62b /sys-fs | |
parent | Version bump (bug #422851). (diff) | |
download | gentoo-2-bf0711b7b60abb544c67c8197d329ca044a3df6c.tar.gz gentoo-2-bf0711b7b60abb544c67c8197d329ca044a3df6c.tar.bz2 gentoo-2-bf0711b7b60abb544c67c8197d329ca044a3df6c.zip |
Avoid -Werror to prevent spurious build failures; might fix bug #426328.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/vhba/ChangeLog | 6 | ||||
-rw-r--r-- | sys-fs/vhba/vhba-20110915.ebuild | 8 | ||||
-rw-r--r-- | sys-fs/vhba/vhba-20120422.ebuild | 8 |
3 files changed, 15 insertions, 7 deletions
diff --git a/sys-fs/vhba/ChangeLog b/sys-fs/vhba/ChangeLog index 7bbb3bac0484..46d866c33d4c 100644 --- a/sys-fs/vhba/ChangeLog +++ b/sys-fs/vhba/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-fs/vhba # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.34 2012/07/05 00:11:07 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/ChangeLog,v 1.35 2012/07/16 07:20:03 tetromino Exp $ + + 16 Jul 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + vhba-20110915.ebuild, vhba-20120422.ebuild: + Avoid -Werror to prevent spurious build failures; might fix bug #426328. *vhba-20120422 (05 Jul 2012) diff --git a/sys-fs/vhba/vhba-20110915.ebuild b/sys-fs/vhba/vhba-20110915.ebuild index 893b6268ecb9..a63a6ad7cb5e 100644 --- a/sys-fs/vhba/vhba-20110915.ebuild +++ b/sys-fs/vhba/vhba-20110915.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20110915.ebuild,v 1.7 2012/05/24 04:20:30 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20110915.ebuild,v 1.8 2012/07/16 07:20:03 tetromino Exp $ EAPI="4" @@ -35,8 +35,10 @@ pkg_setup() { src_prepare() { # Build failure with >=3.4-rc1 and CONFIG_ENABLE_WARN_DEPRECATED, #411459 epatch "${FILESDIR}/${P}-3.4-kmap_atomic.patch" - # Avoid "make jobserver unavailable" warning - sed -e 's:\t$(KMAKE):\t+$(KMAKE):g' -i Makefile || die "sed failed" + # Avoid "make jobserver unavailable" warning and -Werror problems + sed -e 's:\t$(KMAKE):\t+$(KMAKE):g' \ + -e '/EXTRA_CFLAGS/s/-Werror$/-Wall/' \ + -i Makefile || die "sed failed" } src_install() { diff --git a/sys-fs/vhba/vhba-20120422.ebuild b/sys-fs/vhba/vhba-20120422.ebuild index b4e8143d2bd0..7c474f0bc545 100644 --- a/sys-fs/vhba/vhba-20120422.ebuild +++ b/sys-fs/vhba/vhba-20120422.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20120422.ebuild,v 1.1 2012/07/05 00:11:07 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/vhba/vhba-20120422.ebuild,v 1.2 2012/07/16 07:20:03 tetromino Exp $ EAPI="4" @@ -33,8 +33,10 @@ pkg_setup() { } src_prepare() { - # Avoid "make jobserver unavailable" warning - sed -e 's:\t$(KMAKE):\t+$(KMAKE):g' -i Makefile || die "sed failed" + # Avoid "make jobserver unavailable" warning and -Werror problems + sed -e 's:\t$(KMAKE):\t+$(KMAKE):g' \ + -e '/EXTRA_CFLAGS/s/-Werror$/-Wall/' \ + -i Makefile || die "sed failed" } src_install() { |