diff options
author | automorphism88 <adebeus@gmail.com> | 2017-05-26 11:08:24 -0700 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-05-27 15:48:07 +0200 |
commit | 5af88e69ef3826b61570fcd49368cfc229fc0524 (patch) | |
tree | 9e90f7664284612b9509235117497a0dd734b2b4 | |
parent | sys-fs/cryfs: Added ~x86 keyword (diff) | |
download | gentoo-5af88e69ef3826b61570fcd49368cfc229fc0524.tar.gz gentoo-5af88e69ef3826b61570fcd49368cfc229fc0524.tar.bz2 gentoo-5af88e69ef3826b61570fcd49368cfc229fc0524.zip |
sys-fs/cryfs: Fix inapplicable performance warning
Closes: https://github.com/gentoo/gentoo/pull/4772
-rw-r--r-- | sys-fs/cryfs/cryfs-0.9.7.ebuild | 3 | ||||
-rw-r--r-- | sys-fs/cryfs/cryfs-9999.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
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 } |