diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-16 05:29:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-16 05:29:50 +0000 |
commit | f174ed40d3cca6ab6b3bb718e8b5fccca6b04b3f (patch) | |
tree | d5b82bd892cb75d60b0adf4c44305caa9f3fce7a /net-libs/libsoup/files | |
parent | 02f2811de683662c5c6f5f120de6b59898ed6b98 (diff) |
gentoo auto-resync : 16:01:2024 - 05:29:50
Diffstat (limited to 'net-libs/libsoup/files')
-rw-r--r-- | net-libs/libsoup/files/libxml2-2.12.patch | 36 |
1 files changed, 36 insertions, 0 deletions
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 |