gupnp-tools: update to 0.12.1.
This commit is contained in:
parent
21fd0b3ade
commit
7d58adeec2
2 changed files with 32 additions and 2 deletions
|
@ -0,0 +1,30 @@
|
||||||
|
From f675ac7e0afe67a86f3f1191d3274d6ffbd4e5d7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jens Georg <mail@jensge.org>
|
||||||
|
Date: Thu, 3 Aug 2023 23:44:15 +0200
|
||||||
|
Subject: [PATCH] common: Drop deprecated xmlRecoverMemory
|
||||||
|
|
||||||
|
Fixes #27
|
||||||
|
---
|
||||||
|
src/common/pretty-print.c | 6 +++++-
|
||||||
|
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/common/pretty-print.c b/src/common/pretty-print.c
|
||||||
|
index c692664..c8ebc9a 100644
|
||||||
|
--- a/src/common/pretty-print.c
|
||||||
|
+++ b/src/common/pretty-print.c
|
||||||
|
@@ -34,7 +34,11 @@ pretty_print_xml (const char *xml)
|
||||||
|
char *text;
|
||||||
|
int length;
|
||||||
|
|
||||||
|
- doc = xmlRecoverMemory (xml, strlen (xml));
|
||||||
|
+ doc = xmlReadMemory (xml,
|
||||||
|
+ strlen (xml),
|
||||||
|
+ NULL,
|
||||||
|
+ NULL,
|
||||||
|
+ XML_PARSE_NONET | XML_PARSE_RECOVER);
|
||||||
|
|
||||||
|
if (!doc)
|
||||||
|
return NULL;
|
||||||
|
--
|
||||||
|
GitLab
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'gupnp-tools'
|
# Template file for 'gupnp-tools'
|
||||||
pkgname=gupnp-tools
|
pkgname=gupnp-tools
|
||||||
version=0.12.0
|
version=0.12.1
|
||||||
revision=1
|
revision=1
|
||||||
build_style=meson
|
build_style=meson
|
||||||
hostmakedepends="pkg-config glib-devel gobject-introspection gettext"
|
hostmakedepends="pkg-config glib-devel gobject-introspection gettext"
|
||||||
|
@ -12,4 +12,4 @@ license="GPL-2.0-or-later"
|
||||||
homepage="http://gupnp.org/"
|
homepage="http://gupnp.org/"
|
||||||
changelog="https://gitlab.gnome.org/GNOME/gupnp-tools/-/raw/master/NEWS"
|
changelog="https://gitlab.gnome.org/GNOME/gupnp-tools/-/raw/master/NEWS"
|
||||||
distfiles="${GNOME_SITE}/gupnp-tools/${version%.*}/gupnp-tools-${version}.tar.xz"
|
distfiles="${GNOME_SITE}/gupnp-tools/${version%.*}/gupnp-tools-${version}.tar.xz"
|
||||||
checksum=5ea7607ee365642c555927fedc5b5e1fe08e74f061d0c3eb08bd901b5eb20082
|
checksum=53cf93123f397e8f8f0b8e9e4364c86a7502a5334f4c0be2e054a824478bd5ba
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue