Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Virtualization
libosinfo
0001-osinfo-Make-xmlError-struct-constant-in-pr...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-osinfo-Make-xmlError-struct-constant-in-propagate_li.patch of Package libosinfo
From 2a23a33b06fab59b351358fba1a4969902217b58 Mon Sep 17 00:00:00 2001 From: Michal Privoznik <mprivozn@redhat.com> Date: Mon, 27 Nov 2023 15:11:45 +0100 Subject: [PATCH] osinfo: Make xmlError struct constant in propagate_libxml_error() In libxml2 commit v2.12.0~14 the API changed so that xmlGetLastError() returns pointer to a constant xmlError struct. Reflect this change in our code. Signed-off-by: Michal Privoznik <mprivozn@redhat.com> --- osinfo/osinfo_install_script.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osinfo/osinfo_install_script.c b/osinfo/osinfo_install_script.c index 5800f37..303245a 100644 --- a/osinfo/osinfo_install_script.c +++ b/osinfo/osinfo_install_script.c @@ -769,7 +769,7 @@ static void propagate_libxml_error(GError **error, const char *format, ...) G_GN static void propagate_libxml_error(GError **error, const char *format, ...) { - xmlErrorPtr err = xmlGetLastError(); + const xmlError *err = xmlGetLastError(); char *prefix; va_list ap; -- 2.45.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor