net-libs/librist: don't use '-Werror' (-pedantic-errors)

Closes: https://bugs.gentoo.org/969868
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2026-02-11 04:42:30 +00:00
parent 8ed45f5ddc
commit 98e5db18d3
2 changed files with 14 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
https://bugs.gentoo.org/969868
--- a/meson.build
+++ b/meson.build
@@ -150,7 +150,7 @@ void test(void) {
endif
deps += [ lib_rt ]
endif
- add_project_arguments(['-Wshadow', '-pedantic-errors'], language: 'c')
+ add_project_arguments(['-Wshadow'], language: 'c')
add_project_arguments(cc.get_supported_arguments([
'-Wundef',
'-Werror=vla',

View File

@@ -30,7 +30,8 @@ BDEPEND="
"
PATCHES=(
"${FILESDIR}/librist-0.2.11-mbedtls-3.patch"
"${FILESDIR}/${PN}-0.2.11-mbedtls-3.patch"
"${FILESDIR}/${PN}-0.2.11-no-pedantic-errors.patch"
)
src_configure() {