summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSv. Lockal <lockalsash@gmail.com>2024-03-09 19:41:46 +0000
committerSam James <sam@gentoo.org>2024-03-10 02:16:15 +0000
commitd761173f41b504d9adbf12b4109b917fa65218ac (patch)
treedbd05c0a5699a6fe52db4b9d13afb382fddb78af /dev-cpp
parentdev-util/rocm-smi: return correct version in rsmi_version_get (diff)
downloadgentoo-d761173f41b504d9adbf12b4109b917fa65218ac.tar.gz
gentoo-d761173f41b504d9adbf12b4109b917fa65218ac.tar.bz2
gentoo-d761173f41b504d9adbf12b4109b917fa65218ac.zip
dev-cpp/functional-plus: remove -Werror flag
Closes: https://bugs.gentoo.org/926538 Signed-off-by: Sv. Lockal <lockalsash@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35689 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/functional-plus/functional-plus-0.2.22.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-cpp/functional-plus/functional-plus-0.2.22.ebuild b/dev-cpp/functional-plus/functional-plus-0.2.22.ebuild
index 38e0d9137331..c78f24cf915d 100644
--- a/dev-cpp/functional-plus/functional-plus-0.2.22.ebuild
+++ b/dev-cpp/functional-plus/functional-plus-0.2.22.ebuild
@@ -35,6 +35,12 @@ fplus_test_wrapper() {
$@
}
+src_prepare() {
+ # avoid -Werror, bug 926538
+ sed -i 's/-Werror//' cmake/warnings.cmake || die
+ cmake_src_prepare
+}
+
src_configure() {
cmake_src_configure
use test && fplus_test_wrapper cmake_src_configure