From: Thomas Deutschmann Date: Mon, 2 Mar 2020 23:46:27 +0000 (+0100) Subject: sys-libs/libfaketime: Remove -Werror for tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5dae2868a47e01217e76ec8d5b3735d5066a28c8;p=gentoo.git sys-libs/libfaketime: Remove -Werror for tests Closes: https://bugs.gentoo.org/711342 Signed-off-by: Thomas Deutschmann --- diff --git a/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild b/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild index da55fc5ae41c..d157aa32edfb 100644 --- a/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild +++ b/sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild @@ -16,6 +16,8 @@ KEYWORDS="amd64 arm arm64 hppa sparc x86" src_prepare() { sed -i 's/-Werror //' "${S}/src/Makefile" || die + sed -i 's/-Werror //' "${S}/test/Makefile" || die + # Bug #617624 (GCC-6 compatibility) sed -i 's/-Wno-nonnull-compare //' "${S}/src/Makefile" || die diff --git a/sys-libs/libfaketime/libfaketime-0.9.7.ebuild b/sys-libs/libfaketime/libfaketime-0.9.7.ebuild index 16245df161cd..0a558c5d178b 100644 --- a/sys-libs/libfaketime/libfaketime-0.9.7.ebuild +++ b/sys-libs/libfaketime/libfaketime-0.9.7.ebuild @@ -16,6 +16,8 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~sparc ~x86" src_prepare() { sed -i 's/-Werror //' "${S}/src/Makefile" || die + sed -i 's/-Werror //' "${S}/test/Makefile" || die + # Bug #617624 (GCC-6 compatibility) sed -i 's/-Wno-nonnull-compare //' "${S}/src/Makefile" || die