From aafb274daed0d8af545050d556face432e591af4e9e2cbfbc73796be07d4814d Mon Sep 17 00:00:00 2001 From: Dominique Leuenberger Date: Thu, 14 Dec 2023 13:19:31 +0000 Subject: [PATCH] Accepting request 1133093 from home:dimstar:Factory - Add 00514fb6.patch: Fix compatibility with libxml2 2.12.x. OBS-URL: https://build.opensuse.org/request/show/1133093 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gupnp?expand=0&rev=148 --- 00514fb6.patch | 82 ++++++++++++++++++++++++++++++++++++++++++++++++++ gupnp.changes | 5 +++ gupnp.spec | 4 ++- 3 files changed, 90 insertions(+), 1 deletion(-) create mode 100644 00514fb6.patch diff --git a/00514fb6.patch b/00514fb6.patch new file mode 100644 index 0000000..c650804 --- /dev/null +++ b/00514fb6.patch @@ -0,0 +1,82 @@ +From 00514fb62ebd341803fa44e26a6482a8c25dbd34 Mon Sep 17 00:00:00 2001 +From: Jens Georg +Date: Sat, 25 Nov 2023 17:56:02 +0100 +Subject: [PATCH] all: Fix compatibility with libxml2 2.12.x + +--- + libgupnp/gupnp-control-point.c | 2 ++ + libgupnp/gupnp-service-proxy-action.c | 2 ++ + libgupnp/gupnp-service-proxy.c | 2 ++ + libgupnp/gupnp-xml-doc.c | 3 +++ + libgupnp/xml-util.h | 2 ++ + 5 files changed, 11 insertions(+) + +diff --git a/libgupnp/gupnp-control-point.c b/libgupnp/gupnp-control-point.c +index d4b44721..4374f726 100644 +--- a/libgupnp/gupnp-control-point.c ++++ b/libgupnp/gupnp-control-point.c +@@ -27,6 +27,8 @@ + #include + #include + ++#include ++ + #include "gupnp-control-point.h" + #include "gupnp-context-private.h" + #include "gupnp-resource-factory-private.h" +diff --git a/libgupnp/gupnp-service-proxy-action.c b/libgupnp/gupnp-service-proxy-action.c +index b241d86c..6ea241ad 100644 +--- a/libgupnp/gupnp-service-proxy-action.c ++++ b/libgupnp/gupnp-service-proxy-action.c +@@ -9,6 +9,8 @@ + + #include + ++#include ++ + #include "gupnp-error.h" + #include "gupnp-service-proxy.h" + #include "gvalue-util.h" +diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c +index adba5ab0..3f1a4454 100644 +--- a/libgupnp/gupnp-service-proxy.c ++++ b/libgupnp/gupnp-service-proxy.c +@@ -16,6 +16,8 @@ + #include + #include + ++#include ++ + #include "gena-protocol.h" + #include "gupnp-context-private.h" + #include "gupnp-error-private.h" +diff --git a/libgupnp/gupnp-xml-doc.c b/libgupnp/gupnp-xml-doc.c +index 627f1a28..66f9b3dd 100644 +--- a/libgupnp/gupnp-xml-doc.c ++++ b/libgupnp/gupnp-xml-doc.c +@@ -15,6 +15,9 @@ + #include + #include + #include ++ ++#include ++ + #include "gupnp-xml-doc.h" + #include "gupnp-error.h" + +diff --git a/libgupnp/xml-util.h b/libgupnp/xml-util.h +index a02eb3d4..d0dcaeba 100644 +--- a/libgupnp/xml-util.h ++++ b/libgupnp/xml-util.h +@@ -10,6 +10,8 @@ + #define GUPNP_XML_UTIL_H + + #include ++#include ++ + #include + #include + +-- +GitLab + diff --git a/gupnp.changes b/gupnp.changes index 53680ae..da11787 100644 --- a/gupnp.changes +++ b/gupnp.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 14 12:47:50 UTC 2023 - Dominique Leuenberger + +- Add 00514fb6.patch: Fix compatibility with libxml2 2.12.x. + ------------------------------------------------------------------- Fri Nov 3 08:36:13 UTC 2023 - Bjørn Lie diff --git a/gupnp.spec b/gupnp.spec index 38104d9..ac3e9d2 100644 --- a/gupnp.spec +++ b/gupnp.spec @@ -29,6 +29,8 @@ Group: Development/Libraries/C and C++ URL: http://www.gupnp.org/ Source0: https://download.gnome.org/sources/gupnp/1.6/%{name}-%{version}.tar.xz Source1: baselibs.conf +# PATCH-FIX-UPSTREAM 00514fb6.patch -- Fix compatibility with libxml2 2.12.x +Patch0: https://gitlab.gnome.org/GNOME/gupnp/-/commit/00514fb6.patch BuildRequires: docbook-xsl-stylesheets BuildRequires: meson >= 0.54.0 @@ -61,7 +63,7 @@ Group: Development/Libraries/C and C++ Obsoletes: libgupnp-1_2-0 %description -n libgupnp-%{soname} -GUPnP implements the UPnP specification: resource announcement and + GUPnP implements the UPnP specification: resource announcement and discovery, description, control, event notification, and presentation (GUPnP includes basic web server functionality through libsoup). GUPnP does not include helpers for construction or control of specific