diff options
Diffstat (limited to 'community/kodi/remove-filewrap.patch')
-rw-r--r-- | community/kodi/remove-filewrap.patch | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/community/kodi/remove-filewrap.patch b/community/kodi/remove-filewrap.patch index 70145b0ba8..9f20397e8b 100644 --- a/community/kodi/remove-filewrap.patch +++ b/community/kodi/remove-filewrap.patch @@ -1,7 +1,9 @@ ---- a/xbmc/utils/posix/PosixInterfaceForCLog.cpp.orig +diff --git a/xbmc/utils/posix/PosixInterfaceForCLog.cpp b/xbmc/utils/posix/PosixInterfaceForCLog.cpp +index a3d4983..8443024 100644 +--- a/xbmc/utils/posix/PosixInterfaceForCLog.cpp +++ b/xbmc/utils/posix/PosixInterfaceForCLog.cpp -@@ -28,10 +28,6 @@ - #include "android/activity/XBMCApp.h" +@@ -29,10 +29,6 @@ + #include "platform/android/activity/XBMCApp.h" #endif // TARGET_ANDROID -struct FILEWRAP : public FILE @@ -11,7 +13,7 @@ CPosixInterfaceForCLog::CPosixInterfaceForCLog() : m_file(NULL) { } -@@ -50,7 +46,7 @@ +@@ -52,7 +48,7 @@ bool CPosixInterfaceForCLog::OpenLogFile(const std::string &logFilename, const s (void)remove(backupOldLogToFilename.c_str()); // if it's failed, try to continue (void)rename(logFilename.c_str(), backupOldLogToFilename.c_str()); // if it's failed, try to continue @@ -20,7 +22,9 @@ if (!m_file) return false; // error, can't open log file ---- a/xbmc/utils/posix/PosixInterfaceForCLog.h.orig +diff --git a/xbmc/utils/posix/PosixInterfaceForCLog.h b/xbmc/utils/posix/PosixInterfaceForCLog.h +index c1e8ffe..9999ead 100644 +--- a/xbmc/utils/posix/PosixInterfaceForCLog.h +++ b/xbmc/utils/posix/PosixInterfaceForCLog.h @@ -21,8 +21,6 @@ @@ -31,9 +35,9 @@ class CPosixInterfaceForCLog { public: -@@ -34,5 +32,5 @@ +@@ -34,5 +32,5 @@ public: void PrintDebugString(const std::string& debugString); - static void GetCurrentLocalTime(int& hour, int& minute, int& second); + static void GetCurrentLocalTime(int& hour, int& minute, int& second, double& millisecond); private: - FILEWRAP* m_file; + FILE * m_file; |