commit:     424d8920cbce953a0c4f32c15ec8007fd17c66b6
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 03:43:55 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 23 03:43:55 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=424d8920

net-libs/gupnp-av: drop unnecessary (for us) -Werror=deprecated-declarations

Fixes build w/ new libxml2.

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

 net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild 
b/net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild
index 08a912bd247f..87d1c15e744b 100644
--- a/net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild
+++ b/net-libs/gupnp-av/gupnp-av-0.14.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -32,6 +32,9 @@ BDEPEND="
 src_prepare() {
        use vala && vala_setup
        default
+
+       # This makes sense for upstream but not for us downstream, bug #906641.
+       sed -i -e '/-Werror=deprecated-declarations/d' meson.build || die
 }
 
 src_configure() {

Reply via email to