From 5956f21c76fdf0cd2b94ca0a34d2774b74c654b0 Mon Sep 17 00:00:00 2001 From: Matthias Reichl Date: Thu, 16 Feb 2023 09:58:47 +0100 Subject: [PATCH] kodi: drop kodi-995.11-smbc_getxattr.patch Signed-off-by: Matthias Reichl --- .../kodi/patches/kodi-995.11-smbc_getxattr.patch | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 packages/mediacenter/kodi/patches/kodi-995.11-smbc_getxattr.patch diff --git a/packages/mediacenter/kodi/patches/kodi-995.11-smbc_getxattr.patch b/packages/mediacenter/kodi/patches/kodi-995.11-smbc_getxattr.patch deleted file mode 100644 index 77e5e7ff19..0000000000 --- a/packages/mediacenter/kodi/patches/kodi-995.11-smbc_getxattr.patch +++ /dev/null @@ -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)