Merge pull request #7565 from HiassofT/le12-kodi-omega

kodi: update to Omega ec8216c
This commit is contained in:
CvH 2023-03-05 21:40:47 +01:00 committed by GitHub
commit 9e7e16163a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 13 deletions

View File

@ -3,8 +3,8 @@
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="kodi"
PKG_VERSION="20.0-Nexus"
PKG_SHA256="4c75add8b9ea44924b6ee45f94439545676033f35f5993908871e3dded527b79"
PKG_VERSION="ec8216c9a60fd5259485f5603d3a3347d685d198"
PKG_SHA256="1a5ddf9ebcd5f394b97ea9af53691b44d5c5e2391ab2d418e6b6fe3e03cbb5e4"
PKG_LICENSE="GPL"
PKG_SITE="http://www.kodi.tv"
PKG_URL="https://github.com/xbmc/xbmc/archive/${PKG_VERSION}.tar.gz"

View File

@ -1,11 +0,0 @@
--- ./xbmc/platform/posix/filesystem/SMBDirectory.cpp.orig 2023-02-03 14:31:42.518877830 +0100
+++ ./xbmc/platform/posix/filesystem/SMBDirectory.cpp 2023-02-03 14:36:27.357905849 +0100
@@ -171,7 +171,7 @@
char value[20];
// We poll for extended attributes which symbolizes bits but split up into a string. Where 0x02 is hidden and 0x12 is hidden directory.
// According to the libsmbclient.h it's supposed to return 0 if ok, or the length of the string. It seems always to return the length which is 4
- if (smbc_getxattr(strFullName.c_str(), "system.dos_attr.mode", value, sizeof(value)) > 0)
+ if (smbc_getxattr(strFullName.c_str(), "system.dos_attr.mode", value, sizeof(value)) >= 0)
{
long longvalue = strtol(value, NULL, 16);
if (longvalue & SMBC_DOS_MODE_HIDDEN)