commit:     a6b3dbc24056988d7cc02f29dd0dccd8844dd9d9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jul  8 14:17:50 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Jul  8 14:17:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6b3dbc2

dev-cpp/robin-map: don't build tests w/ -Werror

Closes: https://bugs.gentoo.org/935749
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-cpp/robin-map/robin-map-1.3.0.ebuild | 5 ++++-
 dev-cpp/robin-map/robin-map-9999.ebuild  | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-cpp/robin-map/robin-map-1.3.0.ebuild 
b/dev-cpp/robin-map/robin-map-1.3.0.ebuild
index a476d88fd8ce..5ebd0b902e42 100644
--- a/dev-cpp/robin-map/robin-map-1.3.0.ebuild
+++ b/dev-cpp/robin-map/robin-map-1.3.0.ebuild
@@ -27,7 +27,10 @@ BDEPEND="
 
 src_test() {
        cd tests || die
-       sed -i -e '/Boost_USE_STATIC_LIBS/d' CMakeLists.txt || die
+       sed -i \
+               -e '/Boost_USE_STATIC_LIBS/d' \
+               -e 's/-Werror//' \
+               CMakeLists.txt || die
        cmake -S "${S}/tests" -B . -GNinja || die
        eninja
        ./tsl_robin_map_tests || die

diff --git a/dev-cpp/robin-map/robin-map-9999.ebuild 
b/dev-cpp/robin-map/robin-map-9999.ebuild
index a476d88fd8ce..5ebd0b902e42 100644
--- a/dev-cpp/robin-map/robin-map-9999.ebuild
+++ b/dev-cpp/robin-map/robin-map-9999.ebuild
@@ -27,7 +27,10 @@ BDEPEND="
 
 src_test() {
        cd tests || die
-       sed -i -e '/Boost_USE_STATIC_LIBS/d' CMakeLists.txt || die
+       sed -i \
+               -e '/Boost_USE_STATIC_LIBS/d' \
+               -e 's/-Werror//' \
+               CMakeLists.txt || die
        cmake -S "${S}/tests" -B . -GNinja || die
        eninja
        ./tsl_robin_map_tests || die

Reply via email to