FreeBSD Bugzilla – Attachment 251780 Details for
Bug 279957
sysutils/osinfo-db-tools: Fails to build with libxml2 2.13.1 and libxslt 1.1.41
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-sysutils-osinfo-db-fix-build-with-newer-libxml2.patch (text/plain), 1.29 KB, created by
Roman Bogorodskiy
on 2024-06-29 18:10:52 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Roman Bogorodskiy
Created:
2024-06-29 18:10:52 UTC
Size:
1.29 KB
patch
obsolete
>From 09112390dcb795121b9e3e7d32373613921f8b7a Mon Sep 17 00:00:00 2001 >From: Roman Bogorodskiy <novel@FreeBSD.org> >Date: Sat, 29 Jun 2024 20:04:23 +0200 >Subject: [PATCH] sysutils/osinfo-db: fix build with newer libxml2 > >PR: 279957 >Reported by: diizzy >--- > .../files/patch-tools_osinfo-db-validate.c | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c > >diff --git a/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c b/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c >new file mode 100644 >index 000000000000..ef943afbfb6a >--- /dev/null >+++ b/sysutils/osinfo-db-tools/files/patch-tools_osinfo-db-validate.c >@@ -0,0 +1,15 @@ >+--- tools/osinfo-db-validate.c.orig 2023-10-27 14:08:20 UTC >++++ tools/osinfo-db-validate.c >+@@ -35,7 +35,12 @@ static void validate_structured_error_nop(void *userDa >+ } >+ >+ static void validate_structured_error_nop(void *userData G_GNUC_UNUSED, >++#if LIBXML_VERSION >= 21200 >++ const xmlError *error G_GNUC_UNUSED) >++#else >+ xmlErrorPtr error G_GNUC_UNUSED) >++#endif >++ >+ { >+ if (error->file) >+ g_printerr("%s:%d %s", error->file, error->line, error->message); >-- >2.45.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 279957
: 251780