diff mbox series

[1/1] package/gupnp-av: bump to version 0.14.1

Message ID 20231229214717.11148-1-fontaine.fabrice@gmail.com
State Accepted
Headers show
Series [1/1] package/gupnp-av: bump to version 0.14.1 | expand

Commit Message

Fabrice Fontaine Dec. 29, 2023, 9:47 p.m. UTC
Add patch to fix build with libxml2 2.12

https://gitlab.gnome.org/GNOME/gupnp-av/-/blob/gupnp-av-0.14.1/NEWS

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 ...ix-compatibility-with-libxml2-2-12-x.patch | 26 +++++++++++++++++++
 package/gupnp-av/gupnp-av.hash                |  4 +--
 package/gupnp-av/gupnp-av.mk                  |  2 +-
 3 files changed, 29 insertions(+), 3 deletions(-)
 create mode 100644 package/gupnp-av/0002-xml-Fix-compatibility-with-libxml2-2-12-x.patch

Comments

Thomas Petazzoni Jan. 1, 2024, 8:18 p.m. UTC | #1
On Fri, 29 Dec 2023 22:47:17 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> Add patch to fix build with libxml2 2.12
> 
> https://gitlab.gnome.org/GNOME/gupnp-av/-/blob/gupnp-av-0.14.1/NEWS
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  ...ix-compatibility-with-libxml2-2-12-x.patch | 26 +++++++++++++++++++
>  package/gupnp-av/gupnp-av.hash                |  4 +--
>  package/gupnp-av/gupnp-av.mk                  |  2 +-
>  3 files changed, 29 insertions(+), 3 deletions(-)
>  create mode 100644 package/gupnp-av/0002-xml-Fix-compatibility-with-libxml2-2-12-x.patch

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/gupnp-av/0002-xml-Fix-compatibility-with-libxml2-2-12-x.patch b/package/gupnp-av/0002-xml-Fix-compatibility-with-libxml2-2-12-x.patch
new file mode 100644
index 0000000000..358098fbc4
--- /dev/null
+++ b/package/gupnp-av/0002-xml-Fix-compatibility-with-libxml2-2-12-x.patch
@@ -0,0 +1,26 @@ 
+From 1e10a41fcef6ae0d3e89958db89bc22398f3b4f1 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail@jensge.org>
+Date: Sat, 25 Nov 2023 17:58:49 +0100
+Subject: [PATCH] xml: Fix compatibility with libxml2 2.12.x
+
+Upstream: https://gitlab.gnome.org/GNOME/gupnp-av/-/commit/1e10a41fcef6ae0d3e89958db89bc22398f3b4f1
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+---
+ libgupnp-av/xml-util.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/libgupnp-av/xml-util.h b/libgupnp-av/xml-util.h
+index e0e49f7..0bbe0f8 100644
+--- a/libgupnp-av/xml-util.h
++++ b/libgupnp-av/xml-util.h
+@@ -16,6 +16,7 @@
+ 
+ #include <glib.h>
+ #include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include <stdarg.h>
+ #include <glib-object.h>
+ 
+-- 
+GitLab
+
diff --git a/package/gupnp-av/gupnp-av.hash b/package/gupnp-av/gupnp-av.hash
index ab1739aaa4..c8ed0db2a4 100644
--- a/package/gupnp-av/gupnp-av.hash
+++ b/package/gupnp-av/gupnp-av.hash
@@ -1,5 +1,5 @@ 
-# Hash from: https://download.gnome.org/sources/gupnp-av/0.14/gupnp-av-0.14.0.sha256sum:
-sha256  20aed546fc882e78a3f186a0c8bce5c841cc3a44b7ea528298fbdc82596fb156  gupnp-av-0.14.0.tar.xz
+# Hash from: https://download.gnome.org/sources/gupnp-av/0.14/gupnp-av-0.14.1.sha256sum:
+sha256  b79ce0cc4b0c66d9c54bc22183a10e5709a0011d2af272025948efcab33a3e4f  gupnp-av-0.14.1.tar.xz
 
 # Hash for license file:
 sha256  dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551  COPYING
diff --git a/package/gupnp-av/gupnp-av.mk b/package/gupnp-av/gupnp-av.mk
index e83aa57bda..3821c4e170 100644
--- a/package/gupnp-av/gupnp-av.mk
+++ b/package/gupnp-av/gupnp-av.mk
@@ -5,7 +5,7 @@ 
 ################################################################################
 
 GUPNP_AV_VERSION_MAJOR = 0.14
-GUPNP_AV_VERSION = $(GUPNP_AV_VERSION_MAJOR).0
+GUPNP_AV_VERSION = $(GUPNP_AV_VERSION_MAJOR).1
 GUPNP_AV_SOURCE = gupnp-av-$(GUPNP_AV_VERSION).tar.xz
 GUPNP_AV_SITE = https://download.gnome.org/sources/gupnp-av/$(GUPNP_AV_VERSION_MAJOR)
 GUPNP_AV_LICENSE = LGPL-2.1+