summaryrefslogtreecommitdiff
path: root/dev-cpp/fkYAML
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/fkYAML')
-rw-r--r--dev-cpp/fkYAML/files/fkYAML-0.4.2_p20250522-Strip-Werror.patch30
-rw-r--r--dev-cpp/fkYAML/fkYAML-0.4.2_p20250522.ebuild1
-rw-r--r--dev-cpp/fkYAML/metadata.xml2
3 files changed, 32 insertions, 1 deletions
diff --git a/dev-cpp/fkYAML/files/fkYAML-0.4.2_p20250522-Strip-Werror.patch b/dev-cpp/fkYAML/files/fkYAML-0.4.2_p20250522-Strip-Werror.patch
new file mode 100644
index 000000000000..8bb13654585b
--- /dev/null
+++ b/dev-cpp/fkYAML/files/fkYAML-0.4.2_p20250522-Strip-Werror.patch
@@ -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
+
diff --git a/dev-cpp/fkYAML/fkYAML-0.4.2_p20250522.ebuild b/dev-cpp/fkYAML/fkYAML-0.4.2_p20250522.ebuild
index 70fb0c2ba073..626cb8330b40 100644
--- a/dev-cpp/fkYAML/fkYAML-0.4.2_p20250522.ebuild
+++ b/dev-cpp/fkYAML/fkYAML-0.4.2_p20250522.ebuild
@@ -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"
)
diff --git a/dev-cpp/fkYAML/metadata.xml b/dev-cpp/fkYAML/metadata.xml
index 14889d9bf84d..56a2d868ab82 100644
--- a/dev-cpp/fkYAML/metadata.xml
+++ b/dev-cpp/fkYAML/metadata.xml
@@ -8,5 +8,5 @@
<upstream>
<bugs-to>https://github.com/fktn-k/fkYAML</bugs-to>
</upstream>
- <origin>gentoo-guru-overlay</origin>
+ <origin>liguros-repo</origin>
</pkgmetadata> \ No newline at end of file