mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
vdr-plugin-xmltv2vdr: add gcc-6 patch
This commit is contained in:
parent
f3384ea0ad
commit
527d728074
@ -34,9 +34,9 @@ PKG_AUTORECONF="no"
|
|||||||
|
|
||||||
pre_configure_target() {
|
pre_configure_target() {
|
||||||
export CFLAGS="$CFLAGS -fPIC"
|
export CFLAGS="$CFLAGS -fPIC"
|
||||||
export CXXFLAGS="$CXXFLAGS -fPIC"
|
export CXXFLAGS="$CXXFLAGS -fPIC -Wno-narrowing"
|
||||||
export LDFLAGS="$LDFLAGS -fPIC"
|
export LDFLAGS="$LDFLAGS -fPIC"
|
||||||
export LIBS="-L$SYSROOT_PREFIX/usr/lib/iconv"
|
export LIBS="-L$SYSROOT_PREFIX/usr/lib/iconv -lpcre -lpcrecpp"
|
||||||
}
|
}
|
||||||
|
|
||||||
make_target() {
|
make_target() {
|
||||||
|
@ -0,0 +1,12 @@
|
|||||||
|
diff -Naur a/import.cpp b/import.cpp
|
||||||
|
--- a/import.cpp 2016-08-23 15:16:10.362347074 +0100
|
||||||
|
+++ b/import.cpp 2016-08-23 15:16:22.814431356 +0100
|
||||||
|
@@ -250,7 +250,7 @@
|
||||||
|
char *cImport::Add2Description(char *description, const char *Name, int Value)
|
||||||
|
{
|
||||||
|
char *value=NULL;
|
||||||
|
- if (asprintf(&value,"%i",Value)==-1) return false;
|
||||||
|
+ if (asprintf(&value,"%i",Value)==-1) return NULL;
|
||||||
|
description = strcatrealloc(description,Name);
|
||||||
|
description = strcatrealloc(description,": ");
|
||||||
|
description = strcatrealloc(description,value);
|
Loading…
x
Reference in New Issue
Block a user