sys-libs/libfaketime: Remove -Werror for tests
authorThomas Deutschmann <whissi@gentoo.org>
Mon, 2 Mar 2020 23:46:27 +0000 (00:46 +0100)
committerThomas Deutschmann <whissi@gentoo.org>
Tue, 3 Mar 2020 00:03:03 +0000 (01:03 +0100)
Closes: https://bugs.gentoo.org/711342
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
sys-libs/libfaketime/libfaketime-0.9.6-r2.ebuild
sys-libs/libfaketime/libfaketime-0.9.7.ebuild

index da55fc5ae41ce1c197139d7c20f9aec655322fdb..d157aa32edfbdcb600a6198342b6795013e677c1 100644 (file)
@@ -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
 
index 16245df161cdd0e61403a444be3aa99a30990dae..0a558c5d178bfa02c43c826cdb755c655fa5613c 100644 (file)
@@ -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