mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
vdr-plugin-xmltv2vdr: fix compile with libxml 2.12.1
This commit is contained in:
parent
aae677e566
commit
146ce2e9ef
@ -0,0 +1,25 @@
|
||||
From 8286d585d6177c3c3a0321459bfaa9e1e5d8122c Mon Sep 17 00:00:00 2001
|
||||
From: Rudi Heitbaum <rudi@heitbaum.com>
|
||||
Date: Fri, 1 Dec 2023 12:34:41 +0000
|
||||
Subject: [PATCH] use const xmlErrorPtr to compile with libxml2.12
|
||||
|
||||
---
|
||||
parse.cpp | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/parse.cpp b/parse.cpp
|
||||
index a2ab767..87d8f16 100644
|
||||
--- a/parse.cpp
|
||||
+++ b/parse.cpp
|
||||
@@ -1070,7 +1070,7 @@ int cParse::Process(cEPGExecutor &myExecutor,char *buffer, int bufsize)
|
||||
skipped++;
|
||||
continue;
|
||||
}
|
||||
- xmlErrorPtr xmlerr=xmlGetLastError();
|
||||
+ const xmlError* xmlerr=xmlGetLastError();
|
||||
if (xmlerr && xmlerr->code)
|
||||
{
|
||||
esyslogs(source,"%s",xmlerr->message);
|
||||
--
|
||||
2.34.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user