commit:     98e5db18d367c83fdb75d6ea17b6595a62645d32
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 11 04:42:30 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 04:42:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98e5db18

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

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

 .../librist/files/librist-0.2.11-no-pedantic-errors.patch    | 12 ++++++++++++
 net-libs/librist/librist-0.2.11.ebuild                       |  3 ++-
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/net-libs/librist/files/librist-0.2.11-no-pedantic-errors.patch 
b/net-libs/librist/files/librist-0.2.11-no-pedantic-errors.patch
new file mode 100644
index 000000000000..8d24132141b7
--- /dev/null
+++ b/net-libs/librist/files/librist-0.2.11-no-pedantic-errors.patch
@@ -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',

diff --git a/net-libs/librist/librist-0.2.11.ebuild 
b/net-libs/librist/librist-0.2.11.ebuild
index a9405ce7df58..3a67f547ad74 100644
--- a/net-libs/librist/librist-0.2.11.ebuild
+++ b/net-libs/librist/librist-0.2.11.ebuild
@@ -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() {

Reply via email to