sys-fs/cryfs: Fix inapplicable performance warning

Closes: https://github.com/gentoo/gentoo/pull/4772
This commit is contained in:
automorphism88
2017-05-26 11:08:24 -07:00
committed by Michał Górny
parent 1fb5c82d70
commit 5af88e69ef
2 changed files with 6 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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
}