Index: multimedia/kodi/files/patch-xbmc_cores_DllLoader_exports_wrapper.c =================================================================== --- multimedia/kodi/files/patch-xbmc_cores_DllLoader_exports_wrapper.c (nonexistent) +++ multimedia/kodi/files/patch-xbmc_cores_DllLoader_exports_wrapper.c (working copy) @@ -0,0 +1,11 @@ +--- xbmc/cores/DllLoader/exports/wrapper.c.bak 2017-11-14 19:55:01.000000000 +0300 ++++ xbmc/cores/DllLoader/exports/wrapper.c 2018-09-08 00:55:50.161993000 +0300 +@@ -45,7 +45,7 @@ + typedef off64_t __off64_t; + typedef fpos_t fpos64_t; + #define stat64 stat +-#if defined(TARGET_DARWIN) || defined(TARGET_ANDROID) ++#if defined(TARGET_DARWIN) || defined(TARGET_FREEBSD) || defined(TARGET_ANDROID) + #define _G_va_list va_list + #endif + #endif Index: multimedia/kodi/files/patch-xbmc_filesystem_DAVDirectory.cpp =================================================================== --- multimedia/kodi/files/patch-xbmc_filesystem_DAVDirectory.cpp (nonexistent) +++ multimedia/kodi/files/patch-xbmc_filesystem_DAVDirectory.cpp (working copy) @@ -0,0 +1,11 @@ +--- xbmc/filesystem/DAVDirectory.cpp.bak 2018-09-07 21:06:46.153753000 +0300 ++++ xbmc/filesystem/DAVDirectory.cpp 2018-09-07 21:07:02.382731000 +0300 +@@ -83,7 +83,7 @@ + else + if (CDAVCommon::ValueWithoutNamespace(pPropChild, "displayname") && !pPropChild->NoChildren()) + { +- item.SetLabel(pPropChild->FirstChild()->ValueStr()); ++ item.SetLabel(CURL::Decode(pPropChild->FirstChild()->ValueStr())); + } + else + if (!item.m_dateTime.IsValid() && CDAVCommon::ValueWithoutNamespace(pPropChild, "creationdate") && !pPropChild->NoChildren())