Fix build for libxml2 2.12.1

This commit is contained in:
Richard W.M. Jones 2023-11-27 14:38:49 +00:00
parent 5b1d48a6d9
commit 1b882146a3
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From ef769cb91b54a6d4f1309518d7048b2c46559cc8 Mon Sep 17 00:00:00 2001
From: "Richard W.M. Jones" <rjones@redhat.com>
Date: Mon, 27 Nov 2023 14:08:01 +0000
Subject: [PATCH] common: Update submodule
Pick up this commit required by libxml2 2.12.1:
mlxml: Include <libxml/parser.h> for xmlReadMemory
---
common | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Submodule common e711121607..6185aa8431:
diff --git a/common/mlxml/xml-c.c b/common/mlxml/xml-c.c
index 715c3bb..e024bd8 100644
--- a/common/mlxml/xml-c.c
+++ b/common/mlxml/xml-c.c
@@ -34,6 +34,7 @@
#include <caml/memory.h>
#include <caml/mlvalues.h>
+#include <libxml/parser.h>
#include <libxml/xpath.h>
#include <libxml/xpathInternals.h>
#include <libxml/uri.h>
--
2.42.0

View File

@ -15,7 +15,7 @@
Name: virt-v2v Name: virt-v2v
Epoch: 1 Epoch: 1
Version: 2.3.6 Version: 2.3.6
Release: 1%{?dist} Release: 2%{?dist}
Summary: Convert a virtual machine to run on KVM Summary: Convert a virtual machine to run on KVM
License: GPL-2.0-or-later AND LGPL-2.0-or-later License: GPL-2.0-or-later AND LGPL-2.0-or-later
@ -48,6 +48,8 @@ ExcludeArch: %{ix86}
ExclusiveArch: x86_64 ExclusiveArch: x86_64
%endif %endif
Patch: 0001-common-Update-submodule.patch
%if 0%{patches_touch_autotools} %if 0%{patches_touch_autotools}
BuildRequires: autoconf, automake, libtool BuildRequires: autoconf, automake, libtool
%endif %endif
@ -308,6 +310,9 @@ done
%changelog %changelog
* Mon Nov 27 2023 Richard W.M. Jones <rjones@redhat.com> - 1:2.3.6-2
- Fix build for libxml2 2.12.1
* Thu Nov 02 2023 Richard W.M. Jones <rjones@redhat.com> - 1:2.3.6-1 * Thu Nov 02 2023 Richard W.M. Jones <rjones@redhat.com> - 1:2.3.6-1
- New development branch version 2.3.6 - New development branch version 2.3.6