vdr-plugin-xmltv2vdr: update to githash 089976d and drop reliance on pcre

This commit is contained in:
Rudi Heitbaum 2023-11-11 11:06:57 +00:00
parent 6ca79dac16
commit ee37194e75
2 changed files with 4 additions and 29 deletions

View File

@ -3,12 +3,12 @@
# Copyright (C) 2016-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="vdr-plugin-xmltv2vdr"
PKG_VERSION="0.2.2"
PKG_SHA256="f12a1af9b3cd5aa6eaa46b81721efa3a0495393378bd766e2449593226076e1e"
PKG_VERSION="089976d4950c2641714be599766f0534825165ca"
PKG_SHA256="6e108a833dbd2ec3b1d812bc4e29e2ebfa1014bf21157a3168b3af759af7b4d5"
PKG_LICENSE="GPL"
PKG_SITE="http://projects.vdr-developer.org/projects/plg-xmltv2vdr"
PKG_URL="https://github.com/vdr-projects/vdr-plugin-xmltv2vdr/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain vdr sqlite openssl curl libzip libxml2 libxslt enca pcre"
PKG_DEPENDS_TARGET="toolchain vdr sqlite openssl curl libzip libxml2 libxslt enca"
PKG_NEED_UNPACK="$(get_pkg_directory vdr)"
PKG_LONGDESC="xmltv2vdr imports data in xmltv format"
PKG_TOOLCHAIN="manual"
@ -16,7 +16,7 @@ PKG_BUILD_FLAGS="+pic"
pre_configure_target() {
export CXXFLAGS="${CXXFLAGS} -Wno-narrowing"
export LIBS="-L${SYSROOT_PREFIX}/usr/lib/iconv -lpcre -lpcrecpp -lssl -lcrypto -lbz2"
export LIBS="-L${SYSROOT_PREFIX}/usr/lib/iconv -lssl -lcrypto -lbz2"
}
make_target() {

View File

@ -1,25 +0,0 @@
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