commit:     5af88e69ef3826b61570fcd49368cfc229fc0524
Author:     automorphism88 <adebeus <AT> gmail <DOT> com>
AuthorDate: Fri May 26 18:08:24 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat May 27 13:48:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5af88e69

sys-fs/cryfs: Fix inapplicable performance warning

Closes: https://github.com/gentoo/gentoo/pull/4772

 sys-fs/cryfs/cryfs-0.9.7.ebuild | 3 +++
 sys-fs/cryfs/cryfs-9999.ebuild  | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/sys-fs/cryfs/cryfs-0.9.7.ebuild b/sys-fs/cryfs/cryfs-0.9.7.ebuild
index d0bef5d4f3d..cc9eea2b0e7 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 d0bef5d4f3d..cc9eea2b0e7 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
 }
 

Reply via email to