summaryrefslogtreecommitdiff
path: root/0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-06 02:26:06 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-06 02:26:06 +0000
commit5957157a0edfe9f07583bdb7530b172da2d7adfd (patch)
tree3bbe9ee8b02c4b84782d71167ed57549c008ce92 /0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch
parent568b42b6ea0df8c498b6d8583c24caf101a47dd8 (diff)
automatic import of libguestfsopeneuler24.03_LTS
Diffstat (limited to '0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch')
-rw-r--r--0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch b/0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch
new file mode 100644
index 0000000..1b8ee36
--- /dev/null
+++ b/0035-lib-Include-libxml-parser.h-for-xmlReadMemory.patch
@@ -0,0 +1,25 @@
+From 64a928f631bc79d885d9822a3022c382cbd5fd55 Mon Sep 17 00:00:00 2001
+From: "Richard W.M. Jones" <rjones@redhat.com>
+Date: Mon, 27 Nov 2023 14:04:33 +0000
+Subject: [PATCH] lib: Include <libxml/parser.h> for xmlReadMemory
+
+Since libxml2 2.12.1 including this header is required to have this
+function declared.
+
+(cherry picked from commit 02c39dc5e8109ddb911d90759883a504008ba509)
+---
+ lib/launch-libvirt.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/lib/launch-libvirt.c b/lib/launch-libvirt.c
+index d4bf1a8f..79465dd4 100644
+--- a/lib/launch-libvirt.c
++++ b/lib/launch-libvirt.c
+@@ -38,6 +38,7 @@
+ #include <libvirt/virterror.h>
+ #endif
+
++#include <libxml/parser.h>
+ #include <libxml/xmlwriter.h>
+ #include <libxml/xpath.h>
+