From: automorphism88 Date: Fri, 26 May 2017 18:08:24 +0000 (-0700) Subject: sys-fs/cryfs: Fix inapplicable performance warning X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=5af88e69ef3826b61570fcd49368cfc229fc0524;p=gentoo.git sys-fs/cryfs: Fix inapplicable performance warning Closes: https://github.com/gentoo/gentoo/pull/4772 --- diff --git a/sys-fs/cryfs/cryfs-0.9.7.ebuild b/sys-fs/cryfs/cryfs-0.9.7.ebuild index d0bef5d4f3d0..cc9eea2b0e7b 100644 --- a/sys-fs/cryfs/cryfs-0.9.7.ebuild +++ b/sys-fs/cryfs/cryfs-0.9.7.ebuild @@ -40,6 +40,9 @@ src_prepare() { # remove tests that require internet access to comply with Gentoo policy sed -i -e '/CurlHttpClientTest.cpp/d' -e '/FakeHttpClientTest.cpp/d' test/cpp-utils/CMakeLists.txt || die + # remove non-applicable warning + sed -i -e '/WARNING! This is a debug build. Performance might be slow./d' src/cryfs-cli/Cli.cpp || die + cmake-utils_src_prepare } diff --git a/sys-fs/cryfs/cryfs-9999.ebuild b/sys-fs/cryfs/cryfs-9999.ebuild index d0bef5d4f3d0..cc9eea2b0e7b 100644 --- a/sys-fs/cryfs/cryfs-9999.ebuild +++ b/sys-fs/cryfs/cryfs-9999.ebuild @@ -40,6 +40,9 @@ src_prepare() { # remove tests that require internet access to comply with Gentoo policy sed -i -e '/CurlHttpClientTest.cpp/d' -e '/FakeHttpClientTest.cpp/d' test/cpp-utils/CMakeLists.txt || die + # remove non-applicable warning + sed -i -e '/WARNING! This is a debug build. Performance might be slow./d' src/cryfs-cli/Cli.cpp || die + cmake-utils_src_prepare }