commit:     9aaeb2819e2d977be47f05552d554bf5bb9a45ff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri May 12 23:40:07 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri May 12 23:40:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9aaeb281

net-libs/gupnp: drop -Werror=deprecated-declarations to fix build w/ 
libxml2-2.11

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

 net-libs/gupnp/gupnp-1.6.3.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-libs/gupnp/gupnp-1.6.3.ebuild 
b/net-libs/gupnp/gupnp-1.6.3.ebuild
index 980f8813702c..c9e04a37efcb 100644
--- a/net-libs/gupnp/gupnp-1.6.3.ebuild
+++ b/net-libs/gupnp/gupnp-1.6.3.ebuild
@@ -47,6 +47,9 @@ BDEPEND="
 src_prepare() {
        default
        use vala && vala_setup
+
+       # This makes sense for upstream but not for us downstream, bug #906124.
+       sed -i -e '/-Werror=deprecated-declarations/d' meson.build || die
 }
 
 multilib_src_configure() {

Reply via email to