aboutsummaryrefslogtreecommitdiffstats
path: root/community/kodi/remove-filewrap.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2017-05-03 20:21:40 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-05-03 20:21:40 +0000
commitd1ca8bf0a308b7b090c9c0acaa7376234379e9c1 (patch)
tree0ac8df8e9e820901d076eaebbff3c9ac2a7fa8e7 /community/kodi/remove-filewrap.patch
parent2075d342094d6e7db71f37f32eb6f94e3418f87e (diff)
downloadaports-d1ca8bf0a308b7b090c9c0acaa7376234379e9c1.tar.bz2
aports-d1ca8bf0a308b7b090c9c0acaa7376234379e9c1.tar.xz
community/kodi: upgrade to 17.1
Diffstat (limited to 'community/kodi/remove-filewrap.patch')
-rw-r--r--community/kodi/remove-filewrap.patch18
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;