kodi: update to kodi-15.0-beta2-45c2a2d

This commit is contained in:
Stefan Saraev 2015-05-25 12:43:08 +03:00
parent 75fcd1d109
commit 056826b80a
3 changed files with 22 additions and 10 deletions

View File

@ -17,7 +17,7 @@
################################################################################ ################################################################################
PKG_NAME="kodi-theme-Confluence" PKG_NAME="kodi-theme-Confluence"
PKG_VERSION="15.0-beta2-670fa99" PKG_VERSION="15.0-beta2-45c2a2d"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"

View File

@ -17,7 +17,7 @@
################################################################################ ################################################################################
PKG_NAME="kodi" PKG_NAME="kodi"
PKG_VERSION="15.0-beta2-670fa99" PKG_VERSION="15.0-beta2-45c2a2d"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"

View File

@ -1,8 +1,8 @@
From ada3250ecc3cb73b805027ac6761ca5576f748c3 Mon Sep 17 00:00:00 2001 From 55a51ac4c992deaa1122ec8fccd21f8a336889e0 Mon Sep 17 00:00:00 2001
From: Alex Deryskyba <alex@codesnake.com> From: Alex Deryskyba <alex@codesnake.com>
Date: Sun, 19 Oct 2014 16:20:33 +0300 Date: Sun, 19 Oct 2014 16:20:33 +0300
Subject: [PATCH 13/17] Save settings only if they were modified after the Subject: [PATCH 13/17] Save settings only if they were modified after the last
last save save
This prevents from multiple saving the same settings and helps to resolve This prevents from multiple saving the same settings and helps to resolve
the issue on Amlogic G18REF TV-boxes when setiings may be lost after a poweroff. the issue on Amlogic G18REF TV-boxes when setiings may be lost after a poweroff.
@ -15,15 +15,27 @@ is written half-way and couldn't be read upon next boot, so the XBMC creates a n
default settings. default settings.
With this fix the settings will be written at exit only once, minimizing the risk of being lost. With this fix the settings will be written at exit only once, minimizing the risk of being lost.
note by seo:
added utils/md5.h after kodi includes cleanup.
however, this patch should not be needed at all. TODO remove
--- ---
xbmc/settings/Settings.cpp | 11 +++++++++++ xbmc/settings/Settings.cpp | 12 ++++++++++++
1 file changed, 11 insertions(+) 1 file changed, 12 insertions(+)
diff --git a/xbmc/settings/Settings.cpp b/xbmc/settings/Settings.cpp diff --git a/xbmc/settings/Settings.cpp b/xbmc/settings/Settings.cpp
index 3c981a4..0850bce 100644 index 2e690e3..bd0200d 100644
--- a/xbmc/settings/Settings.cpp --- a/xbmc/settings/Settings.cpp
+++ b/xbmc/settings/Settings.cpp +++ b/xbmc/settings/Settings.cpp
@@ -207,6 +207,17 @@ bool CSettings::Save(const std::string &file) @@ -72,6 +72,7 @@
#include "threads/SingleLock.h"
#include "utils/CharsetConverter.h"
#include "utils/log.h"
+#include "utils/md5.h"
#include "utils/RssManager.h"
#include "utils/StringUtils.h"
#include "utils/SystemInfo.h"
@@ -206,6 +207,17 @@ bool CSettings::Save(const std::string &file)
if (!m_settingsManager->Save(root)) if (!m_settingsManager->Save(root))
return false; return false;
@ -42,5 +54,5 @@ index 3c981a4..0850bce 100644
} }
-- --
1.7.10.4 2.1.4