mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-08 14:43:27 -04:00
dev-cpp/fkYAML: strip -Werror
Closes: https://bugs.gentoo.org/974653 Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From: Pavel Sobolev <contact@paveloom.dev>
|
||||
Subject: [PATCH] Strip `-Werror`.
|
||||
|
||||
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
|
||||
|
||||
--- a/tests/unit_test/CMakeLists.txt
|
||||
+++ b/tests/unit_test/CMakeLists.txt
|
||||
@@ -117,18 +117,18 @@ target_compile_options(
|
||||
>
|
||||
# GNU
|
||||
$<$<CXX_COMPILER_ID:GNU>:
|
||||
- -Wall -Wextra -Werror -pedantic -Wpedantic -Wdeprecated --all-warnings --extra-warnings
|
||||
+ -Wall -Wextra -pedantic -Wpedantic -Wdeprecated --all-warnings --extra-warnings
|
||||
-Wno-deprecated-declarations # for testing deprecated functions
|
||||
-Wno-self-move # necessary to build the detail::iterator class test
|
||||
>
|
||||
# Clang
|
||||
$<$<CXX_COMPILER_ID:Clang>:
|
||||
- -Wall -Wextra -Werror -pedantic -Wdeprecated
|
||||
+ -Wall -Wextra -pedantic -Wdeprecated
|
||||
-Wno-c++98-compat -Wno-c++98-compat-pedantic
|
||||
-Wno-deprecated-declarations # for testing deprecated functions
|
||||
>
|
||||
$<$<CXX_COMPILER_ID:AppleClang>:
|
||||
- -Wall -Wextra -Werror -pedantic -Wdeprecated
|
||||
+ -Wall -Wextra -pedantic -Wdeprecated
|
||||
-Wno-deprecated-declarations # for testing deprecated functions
|
||||
>
|
||||
# IntelLLVM
|
||||
|
||||
@@ -24,6 +24,7 @@ BDEPEND="
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.4.2_p20250522-Strip-Werror.patch"
|
||||
"${FILESDIR}/${PN}-0.4.2_p20250522-Use-system-Catch2.patch"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user