git: f554d929ca09 - main - net/gupnp-tools: Fix build with libxml2 2.11

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Fri, 12 Jan 2024 17:05:21 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f554d929ca09ac0666f7cfd1d6d2cded9373c986

commit f554d929ca09ac0666f7cfd1d6d2cded9373c986
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-01-12 16:48:15 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-01-12 17:05:02 +0000

    net/gupnp-tools: Fix build with libxml2 2.11
    
    Define -Wno-error=deprecated-declarations to fix build
    
    PR:             273210
    Reported by:    antoine (via exp-run)
    Approved by:    portmgr (blanket, build fix)
---
 net/gupnp-tools/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net/gupnp-tools/Makefile b/net/gupnp-tools/Makefile
index c9b3053789f4..e7bfb54d430e 100644
--- a/net/gupnp-tools/Makefile
+++ b/net/gupnp-tools/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	gupnp-tools
 PORTVERSION=	0.12.1
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net
 MASTER_SITES=	GNOME
 
@@ -26,6 +26,8 @@ USE_GNOME=	glib20 gtk30 libxml2
 
 USE_LDCONFIG=	yes
 
+CFLAGS+=	-Wno-error=deprecated-declarations
+
 OPTIONS_DEFINE=	AV_TOOLS
 OPTIONS_DEFAULT=AV_TOOLS