summaryrefslogtreecommitdiff
path: root/net-libs
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/Manifest.gzbin31822 -> 31822 bytes
-rw-r--r--net-libs/gupnp-av/Manifest2
-rw-r--r--net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch75
-rw-r--r--net-libs/gupnp-av/gupnp-av-0.14.1-r2.ebuild51
-rw-r--r--net-libs/gupnp/Manifest6
-rw-r--r--net-libs/gupnp/files/gupnp-1.4.3-libxml2-2.12.patch63
-rw-r--r--net-libs/gupnp/files/gupnp-1.6.6-libxml2-2.12.patch66
-rw-r--r--net-libs/gupnp/gupnp-1.4.3.ebuild5
-rw-r--r--net-libs/gupnp/gupnp-1.6.6.ebuild6
-rw-r--r--net-libs/libsoup/Manifest3
-rw-r--r--net-libs/libsoup/files/libxml2-2.12.patch36
-rw-r--r--net-libs/libsoup/libsoup-2.74.3.ebuild4
12 files changed, 310 insertions, 7 deletions
diff --git a/net-libs/Manifest.gz b/net-libs/Manifest.gz
index 600e6633bbe2..b16ba2229da3 100644
--- a/net-libs/Manifest.gz
+++ b/net-libs/Manifest.gz
Binary files differ
diff --git a/net-libs/gupnp-av/Manifest b/net-libs/gupnp-av/Manifest
index b50a418c6825..bfa4bbd99df4 100644
--- a/net-libs/gupnp-av/Manifest
+++ b/net-libs/gupnp-av/Manifest
@@ -1,3 +1,5 @@
+AUX gupnp-av-0.14.1-libxml2-2.12.patch 2737 BLAKE2B 011c6665ba1b601582ec7d915ab49df774bf7c04c86daeece7d14fe0c6fcfbb27e25089ecebdafacde64ca7d842154bfe715003ee747af7a78abdeed73cbb894 SHA512 7619cad3fb0cb8c01da550b63514d1bd9e99ef3f785998c85650d0e9bd3e8356b7600579c078b60d43ae8285e6c47187bd7a44b104a4eb737451a6cb4d8e4d5d
DIST gupnp-av-0.14.1.tar.xz 93484 BLAKE2B 5e4c070bc7f0dd1a1b67f58fb178ee575df5f9f3920c8c40f8975ac79c61f707df39a243d4783ff79f691dd42553c3a6eb89715be79bb7683910785afdd83b19 SHA512 b17b38c32fe068b0b74a7ee357be5f3a0df3320fd04338b5f6b04231c601d6cc57d2770c6e6ca42ded5e1be28a6b2746d16417eb322889ffe6a975ec58205655
EBUILD gupnp-av-0.14.1-r1.ebuild 1118 BLAKE2B d6333de48752053b76a82c157ffb271c550193b8e7635d3ccca86a5fcf9bfd6f3f781be543a4b9d1f8cad45e9af1663ce62a04916b3baa8b05bf845323dcca64 SHA512 fc8058b54778966266d50bf474fdfe6d9859e15bf44316abefac6bcf262bf401be32585938fc86c36435b163258de426182f69bffdf3b56218b6e59a18c96e36
+EBUILD gupnp-av-0.14.1-r2.ebuild 1180 BLAKE2B 87e3ca126dd7dcd271e39b3748c0e44c4350bd7249675150e473a1124f6a36d68d677f61ee31bfcf2fe571f75825d8f32cae7784705cf42ad10f9ff330baa860 SHA512 428fdbb1796a49780c0ee95624b1e9a3b18a1c971e61d0a4ce936ca837bb8e1867cbdfca8fb8d39ae422f1c7e32b1cb35aede3853429061a14731c79759249a2
MISC metadata.xml 349 BLAKE2B 50eaa08612bc8686246b4065afe457ac661b806ab6b59cf415fc1c7bdac3603725895c5d3111cbace154061bfcf464e1a3fec8397d5c450fd218e70c4c287484 SHA512 8209c087e777641d5a6e5368a94757cc05088f2f8a54814ecccbdffd9ecb4b2714c0ac13f0374aee339c686c0bb4dc2d03c82b937b9beae0467eb2d82d714988
diff --git a/net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch b/net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch
new file mode 100644
index 000000000000..c62ed29fe577
--- /dev/null
+++ b/net-libs/gupnp-av/files/gupnp-av-0.14.1-libxml2-2.12.patch
@@ -0,0 +1,75 @@
+https://bugs.gentoo.org/917532
+https://gitlab.gnome.org/GNOME/gupnp-av/-/commit/9557768121d54fdcedabe7544863515d6a813354
+https://gitlab.gnome.org/GNOME/gupnp-av/-/commit/1e10a41fcef6ae0d3e89958db89bc22398f3b4f1
+
+From 9557768121d54fdcedabe7544863515d6a813354 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail@jensge.org>
+Date: Thu, 3 Aug 2023 23:52:43 +0200
+Subject: [PATCH] Remove deprecates xmlRecoverMemory
+
+Cannot currently remove xmlSchemaValidateStream as validateDoc fails to
+accept the XSD
+--- a/libgupnp-av/gupnp-didl-lite-parser.c
++++ b/libgupnp-av/gupnp-didl-lite-parser.c
+@@ -230,12 +230,17 @@ gupnp_didl_lite_parser_parse_didl_recursive (GUPnPDIDLLiteParser *parser,
+ GUPnPAVXMLDoc *xml_doc = NULL;
+ gboolean result;
+
+- doc = xmlRecoverMemory (didl, strlen (didl));
++ doc = xmlReadMemory (didl,
++ strlen (didl),
++ NULL,
++ NULL,
++ XML_PARSE_NONET | XML_PARSE_RECOVER);
+ if (doc == NULL) {
+ g_set_error (error,
+ G_MARKUP_ERROR,
+ G_MARKUP_ERROR_PARSE,
+- "Could not parse DIDL-Lite XML:\n%s", didl);
++ "Could not parse DIDL-Lite XML:\n%s",
++ didl);
+
+ return FALSE;
+ }
+--- a/libgupnp-av/gupnp-feature-list-parser.c
++++ b/libgupnp-av/gupnp-feature-list-parser.c
+@@ -114,12 +114,17 @@ gupnp_feature_list_parser_parse_text
+ xmlNode *element;
+ GList *feature_list = NULL;
+
+- doc = xmlRecoverMemory (text, strlen (text));
++ doc = xmlReadMemory (text,
++ strlen (text),
++ NULL,
++ NULL,
++ XML_PARSE_NONET | XML_PARSE_RECOVER);
+ if (doc == NULL) {
+ g_set_error (error,
+ G_MARKUP_ERROR,
+ G_MARKUP_ERROR_PARSE,
+- "Could not parse FeatureList XML:\n%s", text);
++ "Could not parse FeatureList XML:\n%s",
++ text);
+
+ return NULL;
+ }
+--
+GitLab
+
+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
+
+--- 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/net-libs/gupnp-av/gupnp-av-0.14.1-r2.ebuild b/net-libs/gupnp-av/gupnp-av-0.14.1-r2.ebuild
new file mode 100644
index 000000000000..a324b8878c7d
--- /dev/null
+++ b/net-libs/gupnp-av/gupnp-av-0.14.1-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnome.org meson vala
+
+DESCRIPTION="Utility library aiming to ease the handling UPnP A/V profiles"
+HOMEPAGE="https://wiki.gnome.org/Projects/GUPnP https://gitlab.gnome.org/GNOME/gupnp-av"
+
+LICENSE="LGPL-2"
+SLOT="0/3" # subslot: soname version
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="gtk-doc +introspection vala"
+REQUIRED_USE="vala? ( introspection )"
+
+RDEPEND="
+ >=dev-libs/glib-2.58:2
+ dev-libs/libxml2
+ introspection? ( >=dev-libs/gobject-introspection-1.36:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ gtk-doc? (
+ dev-util/gtk-doc
+ app-text/docbook-xml-dtd:4.1.2
+ )
+ vala? ( $(vala_depend) )
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.14.1-libxml2-2.12.patch
+)
+
+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() {
+ local emesonargs=(
+ $(meson_use introspection)
+ $(meson_use vala vapi)
+ $(meson_use gtk-doc gtk_doc)
+ )
+ meson_src_configure
+}
diff --git a/net-libs/gupnp/Manifest b/net-libs/gupnp/Manifest
index 7b15cf851c28..02d2e6947d68 100644
--- a/net-libs/gupnp/Manifest
+++ b/net-libs/gupnp/Manifest
@@ -1,8 +1,10 @@
+AUX gupnp-1.4.3-libxml2-2.12.patch 1633 BLAKE2B 25ba13c651219dcd19ea293ac1c7fb4eabbb9a00e4e968dd9f008051d6083cdca39e58f5b5e5302729e379acce4f8a4be017519509a175bbc6ed3d0a2e4dbd2a SHA512 706f780ae85a1010f90f32f856393f035b00f70bfc71d4de64630b09ea0959b4d842e30fc9f2c997138ed10de6b13473183efa6ab8a1a52ec731eca37a6b13d6
AUX gupnp-1.4.3-meson-1.2.0-fix.patch 280 BLAKE2B f1f9a4125ebb98949438beec3746c1b0752a4b6911f965b2bc5d4ed5057d891506b0b0b9a52cd7f1868f67c6ddcaa145676154653cde7af26035d609bb0dc9ef SHA512 27570f138d5256ca9e0801d1f43d6e8f3e6f965c95b9aad429babaf078f4bdc1311f51da8c7485fc7f7b6adb0da924eb177b6bfbfbc81e46e6821ccc3f923ab4
+AUX gupnp-1.6.6-libxml2-2.12.patch 1560 BLAKE2B 3260eae7d363b58d8e1a2a244e6d55942ae78dfd9a2937b2115d96aa92e2eb8be2ded71e6e5185e9734d9694908cf787db6b82de0018e33ab51813c4fe7f1913 SHA512 7bfcc60c69cc56aa8ce1c01613d8281d6b3fbb179da2f89fccc2205270b29b1220ece4a9be6f9fc06dde047fce7fbdf156010edf5880ff47e882008351166ffb
DIST gupnp-1.4.3.tar.xz 154812 BLAKE2B b41a8805853061399412f5eb7267e9913adb3054ebf8a3bd78f6df4c1607d4a944654f3bc6e154fefa98f1289a80055d0feb0168801d83a1ad59c25f5fcac784 SHA512 1963ce917458168c8bc5d669ee30a4071d83d3768ce1be8cbbd81c767853ca01950623a88628a0b1e403d1cce1f0bbc9df80acf4b75f91bfc0403e0d0e6bcedb
DIST gupnp-1.6.5.tar.xz 163380 BLAKE2B 92c29db56a0fe9596bb0c523fc31be0783d6cf95b1926868a6e8a5e95ed9e28aa04ddf0f6740681995244c5020cfddb9b8ab8aeaf2baeb622185aa3a76a2986e SHA512 c34def9accb0984e17298156b7d325eebd89cc0f0f9568740b15f20a05ce523c8f97b5cc98cee1245c0bdea0a5b4fe97878b810c3325239d87d7d577cd0742a5
DIST gupnp-1.6.6.tar.xz 245860 BLAKE2B 9cf9bb4a61e224f74aff18fb4d4491f7e9cb36cf812709b74a8c08581954d82c3c6e59d2b46cac517685a0d191846fbdb6690ac79cebc77a26b6a7d1347f3ae0 SHA512 6721f7dfda273074255e1b418d244eba72a24976e1407fdbaf24fd15a8c15a7a6d389690131563aa1f3b15fdeefb2e100da494c04c6c8e29201d402f072fcbe6
-EBUILD gupnp-1.4.3.ebuild 2281 BLAKE2B 3a31d438462a574fc1032eb9545609ff9284a22878fb7290ac929ab565ce7815e233c27e6389cabad9c0cc515afb18d2f2502aeb1f4cf78f490d6aa658d119fd SHA512 05c192f82dc24cc45e6e58b7c673cc1dd1326fb985fcf3a902b422ecc72848937ec2fa6b6501c7ef0856622f8c84178d39947baf3d37357f9d85bb044ca0c6ff
+EBUILD gupnp-1.4.3.ebuild 2328 BLAKE2B 551160f7d1ce7ed984fc20273f83ee3bfa952bd3045dbac39be2a8e70c5eb20c724e5bbf05f81dde0c8b1a0da77ff153e1f369e34509a4eb0629e109d32c2d9e SHA512 9657d0fcfecb5cb110970db70bf701426e2d71420b3c1a93a6a2a8de197c6cbb9b5c11403d9b556354eedf8d5074ea5f30823167e7a2c2cdd6a5540819624031
EBUILD gupnp-1.6.5.ebuild 2295 BLAKE2B 5cd3b1b0b034043c19d967f0ab1440e5642ed30a6ddbed0e12d27f415e5f7f580bb8edf3bc43307410458ba0d67efcaf268e5df2e4580fc427a1b0d2615046fd SHA512 31d4f5f15886acf5d1c98df9959983ccdb7bfa8a83acc19446fc123cd398b4c3d111eaab42f3f4a4dea455977320d0f6c62031e8d64c1ae0e0657ee88383a477
-EBUILD gupnp-1.6.6.ebuild 2299 BLAKE2B adb3fdea8a176e69bb0290499d4163f14894ef176ff667f3b2e94ebc74c3165fc6064c6b4b72a5e758abae0c050b590eef9be4882fd0e7746f9a35a401162f36 SHA512 397a21666fbd618901d97f95fc41b905acb2d196e452c7f99041fe2c153d6e8330bc6ef54fb59a356ee3fdb8aab49d10e6bd950d091e913c4b7400a67ffcd892
+EBUILD gupnp-1.6.6.ebuild 2358 BLAKE2B 1b1efd48bf162f28c38e5acd32607af31a5c5f7d52002ebc25c2cd289d1bebc1e510c356417397865ff81f7fdd422ec3a38a04bb02a1a5ed86a08bbed20c3505 SHA512 88ead166d68ae85078fd19ff9e4808608aa744e99534793c91f4162a9fdc749e8579b09828c62f8921c1c35f51ec08c8328a7c65c5c5e2778fb8db342b586523
MISC metadata.xml 346 BLAKE2B c0c2d7c5a0f1906cc1789a30daec476919e7332f2a8aed9ec78e824be2776e7a18202b8fe19e519340cc9437d4147e223eb6830460c2a4c499cd483c77524cd5 SHA512 84998e9f5ebf374d1bfea85f7eb4b89f8459ee62ec89dc8b9bd36de354a307ad854cd7521eecd31b410659d5128a4dd9545ab7037eb5b7f8b41efdb8054b9b2c
diff --git a/net-libs/gupnp/files/gupnp-1.4.3-libxml2-2.12.patch b/net-libs/gupnp/files/gupnp-1.4.3-libxml2-2.12.patch
new file mode 100644
index 000000000000..1572c97bf2cd
--- /dev/null
+++ b/net-libs/gupnp/files/gupnp-1.4.3-libxml2-2.12.patch
@@ -0,0 +1,63 @@
+https://bugs.gentoo.org/917555
+https://gitlab.gnome.org/GNOME/gupnp/-/commit/387ca6714bcef64399e1bfdd599612cf3f9e75db
+
+From 387ca6714bcef64399e1bfdd599612cf3f9e75db Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail@jensge.org>
+Date: Sat, 25 Nov 2023 17:56:02 +0100
+Subject: [PATCH] all: Fix compatibility with libxml2 2.12.x
+
+Cherry-picked from 00514fb62ebd341803fa44e26a6482a8c25dbd34
+--- a/libgupnp/gupnp-control-point.c
++++ b/libgupnp/gupnp-control-point.c
+@@ -22,6 +22,8 @@
+ #include <config.h>
+ #include <string.h>
+
++#include <libxml/parser.h>
++
+ #include "gupnp-control-point.h"
+ #include "gupnp-context-private.h"
+ #include "gupnp-resource-factory-private.h"
+--- a/libgupnp/gupnp-service-proxy-action.c
++++ b/libgupnp/gupnp-service-proxy-action.c
+@@ -9,6 +9,8 @@
+
+ #include <config.h>
+
++#include <libxml/parser.h>
++
+ #include "gupnp-error-private.h"
+ #include "gupnp-service-proxy.h"
+ #include "gupnp-service-proxy-private.h"
+--- a/libgupnp/gupnp-service-proxy.c
++++ b/libgupnp/gupnp-service-proxy.c
+@@ -18,6 +18,7 @@
+
+ #include <config.h>
+ #include <libsoup/soup.h>
++#include <libxml/parser.h>
+ #include <gobject/gvaluecollector.h>
+ #include <string.h>
+ #include <locale.h>
+--- a/libgupnp/gupnp-xml-doc.c
++++ b/libgupnp/gupnp-xml-doc.c
+@@ -22,6 +22,7 @@
+
+ #include <config.h>
+ #include <string.h>
++#include <libxml/parser.h>
+ #include "gupnp-xml-doc.h"
+ #include "gupnp-error.h"
+
+--- a/libgupnp/xml-util.h
++++ b/libgupnp/xml-util.h
+@@ -10,6 +10,7 @@
+ #define GUPNP_XML_UTIL_H
+
+ #include <libxml/tree.h>
++#include <libxml/parser.h>
+ #include <libsoup/soup-uri.h>
+ #include <stdarg.h>
+ #include <glib-object.h>
+--
+GitLab
diff --git a/net-libs/gupnp/files/gupnp-1.6.6-libxml2-2.12.patch b/net-libs/gupnp/files/gupnp-1.6.6-libxml2-2.12.patch
new file mode 100644
index 000000000000..75099d26d1eb
--- /dev/null
+++ b/net-libs/gupnp/files/gupnp-1.6.6-libxml2-2.12.patch
@@ -0,0 +1,66 @@
+https://bugs.gentoo.org/917555
+https://gitlab.gnome.org/GNOME/gupnp/-/commit/00514fb62ebd341803fa44e26a6482a8c25dbd34
+
+From 00514fb62ebd341803fa44e26a6482a8c25dbd34 Mon Sep 17 00:00:00 2001
+From: Jens Georg <mail@jensge.org>
+Date: Sat, 25 Nov 2023 17:56:02 +0100
+Subject: [PATCH] all: Fix compatibility with libxml2 2.12.x
+
+--- a/libgupnp/gupnp-control-point.c
++++ b/libgupnp/gupnp-control-point.c
+@@ -27,6 +27,8 @@
+ #include <config.h>
+ #include <string.h>
+
++#include <libxml/parser.h>
++
+ #include "gupnp-control-point.h"
+ #include "gupnp-context-private.h"
+ #include "gupnp-resource-factory-private.h"
+--- a/libgupnp/gupnp-service-proxy-action.c
++++ b/libgupnp/gupnp-service-proxy-action.c
+@@ -9,6 +9,8 @@
+
+ #include <config.h>
+
++#include <libxml/parser.h>
++
+ #include "gupnp-error.h"
+ #include "gupnp-service-proxy.h"
+ #include "gvalue-util.h"
+--- a/libgupnp/gupnp-service-proxy.c
++++ b/libgupnp/gupnp-service-proxy.c
+@@ -16,6 +16,8 @@
+ #include <locale.h>
+ #include <errno.h>
+
++#include <libxml/globals.h>
++
+ #include "gena-protocol.h"
+ #include "gupnp-context-private.h"
+ #include "gupnp-error-private.h"
+--- a/libgupnp/gupnp-xml-doc.c
++++ b/libgupnp/gupnp-xml-doc.c
+@@ -15,6 +15,9 @@
+ #include <config.h>
+ #include <string.h>
+ #include <gio/gio.h>
++
++#include <libxml/parser.h>
++
+ #include "gupnp-xml-doc.h"
+ #include "gupnp-error.h"
+
+--- a/libgupnp/xml-util.h
++++ b/libgupnp/xml-util.h
+@@ -10,6 +10,8 @@
+ #define GUPNP_XML_UTIL_H
+
+ #include <libxml/tree.h>
++#include <libxml/parser.h>
++
+ #include <stdarg.h>
+ #include <glib-object.h>
+
+--
+GitLab
diff --git a/net-libs/gupnp/gupnp-1.4.3.ebuild b/net-libs/gupnp/gupnp-1.4.3.ebuild
index 6f21d4ba078e..c6094ee62d46 100644
--- a/net-libs/gupnp/gupnp-1.4.3.ebuild
+++ b/net-libs/gupnp/gupnp-1.4.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{9..11} )
+PYTHON_COMPAT=( python3_{10..11} )
PYTHON_REQ_USE="xml(+)"
inherit gnome.org meson-multilib python-single-r1 vala xdg
@@ -46,6 +46,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-1.4.3-meson-1.2.0-fix.patch
+ "${FILESDIR}"/${PN}-1.4.3-libxml2-2.12.patch
)
src_prepare() {
diff --git a/net-libs/gupnp/gupnp-1.6.6.ebuild b/net-libs/gupnp/gupnp-1.6.6.ebuild
index 65a1aa08e3f7..440e5eb9ee90 100644
--- a/net-libs/gupnp/gupnp-1.6.6.ebuild
+++ b/net-libs/gupnp/gupnp-1.6.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -44,6 +44,10 @@ BDEPEND="
)
"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.6.6-libxml2-2.12.patch
+)
+
src_prepare() {
default
use vala && vala_setup
diff --git a/net-libs/libsoup/Manifest b/net-libs/libsoup/Manifest
index 253aeb2825b4..62f9e66d3dc8 100644
--- a/net-libs/libsoup/Manifest
+++ b/net-libs/libsoup/Manifest
@@ -1,9 +1,10 @@
AUX disable-apache-tests.patch 1389 BLAKE2B ebf169ca3a362104b1e93a80fb01c3b194ac6a1b89617a32b2224eb91ef52b94d4b3aa4517a957a878e6c42cfc34d5295d2e14881740894a78a836b92617f046 SHA512 751d6d8bbdb27cd77e6fc4f48830e025107a0cf7e178bfe6cb376a6c8e672dc91b56c67fbaf2787c19a5bc1e0914985bc24bf7d54f4c06edff4e07eab3b46d8d
+AUX libxml2-2.12.patch 1037 BLAKE2B 68a090a9b5388a10899f134a719f2959e4a642e6fa360c57567c5dd5b02778711cced9d50bac7ef96d6619204483e64290572e3802742b9602fb0bad2c700418 SHA512 87d517ace062b1dd18629f22a5b23a9a6f77447faebeebe43085c66be09e3723d1640abced87779b2527d3b939ca3dba1956bf3f931a87cc4e6486b4c0559219
DIST libsoup-2.74.3.tar.xz 1504804 BLAKE2B 91f441197414314bb78cf15e7c13b54714e669145784812fb7a68cc41c8965ea29c53dc686d690e00f28f711be9f767038e5cc43b11aa0136f190dd2d41ec2a0 SHA512 72f8a055df984cb35105fe67f4ca67d3fb110d40a9cacb660fccd89f93b06bc32e25d94375dcc76608a245f7c5e081d968d7aaf5952eb16013d81c741247cb4c
DIST libsoup-3.4.2.tar.xz 1535992 BLAKE2B 09423b5f7f0385105d00523f38597ebd91d8a19ed1c4cd6fbc27b12d81fdbd13c54f8fabbe16411ea45de4b48d6dd85c226ea812618b337a34c3dfd220c0be9a SHA512 711007599f639625fe2efdb7adb81de2dea0035180737ce0ec8234afb034646a2b6bd9ae384a69d6591aa142e91d245d502d13e1d97cd7b51c8c87c2d925f6b3
DIST libsoup-3.4.3.tar.xz 1529884 BLAKE2B a0429c405d5f49fa23248409e9b33a153a4f300ec6d5ca907ae5fe3f99a0d69985b41c7dbbb5d9762968c5696e622f449f177b34e89cf0427cf6fdfcce440e73 SHA512 638b1eaefd60624f39edd0f16cea638c2edf6402318805c685f575577a228ba212c6f7ec8b64bac9f1928607e0026b69901e08b8569d179bf228e708e060a571
DIST libsoup-3.4.4.tar.xz 1536268 BLAKE2B 6818ea74fab3531bb0a8e60df9885c5c6729780446f37cff73eb9fdf9d75fb00357dbdc3ae8d8c6e0ff105cb8df42eacf2e1e8865db4cb07871bacf3c62139b7 SHA512 dc16b5ea7d4c25b14f674abd2ccc563d1389ed677fab49cbd556935319bdc6c245acd4a912dc5225ad2e268e5bfbf8956b8cb2f9a585cc4770c2be33c0adac28
-EBUILD libsoup-2.74.3.ebuild 3016 BLAKE2B c28f97dc7db6a63414ceb5d4c4916a6cd8bd7e3b32588e30eda4134888ae761c9b191f6b900868e018c004bbc64db4571e8ba948c58446c3c9c4e9e7208d27d3 SHA512 b3f4754c45292d5c1f803509051b397b979ef54527a61e88f511f5d6573625ac19c8c6f972f06cc0c324d99e92d6f3a081908e7765a06ba1034a827d21cfaa75
+EBUILD libsoup-2.74.3.ebuild 3083 BLAKE2B 26536bba0c3c43d784b22fda9a92c9dec2223fd551ac05ea2e0d876b80dbc41a15813d7c0e4ca9f61887bacb7866a3d2e0d3b100308bf1d327cadc5cc464dce7 SHA512 7cde3b3a08dabd9b205812237fa01c55472826ccf89ab6f0654d3e9c24f73b373400c0c57e974bdaed4234aea572111f4a43048d6df43c500ba14366e437afce
EBUILD libsoup-3.4.2.ebuild 3156 BLAKE2B ea04e8a101e31637802e85a41d1c34f83c109a63905cc3483edb2c5b30dc082fe65229a5a9c73e7af17d86f83e57bd835a5593e24af3c1dce91b0e0c85e962ef SHA512 5c37b7b3df03b2738581506e7aa053af0fb7b06dc9f4a92e78d06f5feef57188b8b3229d15da4e896fc1359e0c614e398338f3567b59834b5f05ec9ac814ab5f
EBUILD libsoup-3.4.3.ebuild 3163 BLAKE2B 5b1f648d50b3474b3a9971251e0110d3ff70828ac296eba679ca00cc92782f6ca1e87d6b737d02388c873a656d9a65675c4fd3252deb75bed4cb4bde83ff8a55 SHA512 23adbbc4f4a5ee53e542dd96415382105fa9ac13c4d8c32a458d372e1e30b107c0dd53ade2b3af3294b96b6c65ec2e8ac9d8c884dd965fd1dd09a9555b3dbf0b
EBUILD libsoup-3.4.4.ebuild 3163 BLAKE2B 5b1f648d50b3474b3a9971251e0110d3ff70828ac296eba679ca00cc92782f6ca1e87d6b737d02388c873a656d9a65675c4fd3252deb75bed4cb4bde83ff8a55 SHA512 23adbbc4f4a5ee53e542dd96415382105fa9ac13c4d8c32a458d372e1e30b107c0dd53ade2b3af3294b96b6c65ec2e8ac9d8c884dd965fd1dd09a9555b3dbf0b
diff --git a/net-libs/libsoup/files/libxml2-2.12.patch b/net-libs/libsoup/files/libxml2-2.12.patch
new file mode 100644
index 000000000000..3190eeb6301c
--- /dev/null
+++ b/net-libs/libsoup/files/libxml2-2.12.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/917556
+https://gitlab.gnome.org/GNOME/libsoup/-/commit/ced3c5d8cad0177b297666343f1561799dfefb0d
+
+From ced3c5d8cad0177b297666343f1561799dfefb0d Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Wed, 22 Nov 2023 18:49:10 -0800
+Subject: [PATCH] Fix build with libxml2-2.12.0 and clang-17
+
+Fixes build errors about missing function prototypes with clang-17
+
+Fixes
+| ../libsoup-2.74.3/libsoup/soup-xmlrpc-old.c:512:8: error: call to undeclared function 'xmlParseMemory'; ISO C99 and later do not support implicit function declarations
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+--- a/libsoup/soup-xmlrpc-old.c
++++ b/libsoup/soup-xmlrpc-old.c
+@@ -11,6 +11,7 @@
+
+ #include <string.h>
+
++#include <libxml/parser.h>
+ #include <libxml/tree.h>
+
+ #include "soup-xmlrpc-old.h"
+--- a/libsoup/soup-xmlrpc.c
++++ b/libsoup/soup-xmlrpc.c
+@@ -17,6 +17,7 @@
+
+ #include <string.h>
+ #include <errno.h>
++#include <libxml/parser.h>
+ #include <libxml/tree.h>
+ #include "soup-xmlrpc.h"
+ #include "soup.h"
+--
+GitLab
diff --git a/net-libs/libsoup/libsoup-2.74.3.ebuild b/net-libs/libsoup/libsoup-2.74.3.ebuild
index 7e1740520995..4287161e6fb3 100644
--- a/net-libs/libsoup/libsoup-2.74.3.ebuild
+++ b/net-libs/libsoup/libsoup-2.74.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -53,6 +53,8 @@ BDEPEND="
PATCHES=(
# Disable apache tests until they are usable on Gentoo, bug #326957
"${FILESDIR}"/disable-apache-tests.patch
+ # libxml2-2.12 fix, bug #917556
+ "${FILESDIR}"/libxml2-2.12.patch
)
src_prepare() {