kodi: revbump for fmt 9.0

This commit is contained in:
Đoàn Trần Công Danh 2022-09-01 01:19:36 +07:00
parent 9d86ebe0ca
commit 3c94d6ee96
2 changed files with 45 additions and 1 deletions

View File

@ -0,0 +1,44 @@
The original type is const unsigned char *
--- a/xbmc/windowing/X11/WinSystemX11.cpp
+++ b/xbmc/windowing/X11/WinSystemX11.cpp
@@ -1038,7 +1038,7 @@ bool CWinSystemX11::HasWindowManager()
if(status == Success && items_read)
{
- CLog::Log(LOGDEBUG,"Window Manager Name: %s", data);
+ CLog::Log(LOGDEBUG,"Window Manager Name: %s", (char *)data);
}
else
CLog::Log(LOGDEBUG,"Window Manager Name: ");
--- a/xbmc/utils/GLUtils.cpp
+++ b/xbmc/utils/GLUtils.cpp
@@ -152,25 +152,25 @@ void LogGraphicsInfo()
s = glGetString(GL_VENDOR);
if (s)
- CLog::Log(LOGINFO, "GL_VENDOR = %s", s);
+ CLog::Log(LOGINFO, "GL_VENDOR = %s", (char *)(s));
else
CLog::Log(LOGINFO, "GL_VENDOR = NULL");
s = glGetString(GL_RENDERER);
if (s)
- CLog::Log(LOGINFO, "GL_RENDERER = %s", s);
+ CLog::Log(LOGINFO, "GL_RENDERER = %s", (char *)(s));
else
CLog::Log(LOGINFO, "GL_RENDERER = NULL");
s = glGetString(GL_VERSION);
if (s)
- CLog::Log(LOGINFO, "GL_VERSION = %s", s);
+ CLog::Log(LOGINFO, "GL_VERSION = %s", (char *)(s));
else
CLog::Log(LOGINFO, "GL_VERSION = NULL");
s = glGetString(GL_SHADING_LANGUAGE_VERSION);
if (s)
- CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s);
+ CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", (char *)(s));
else
CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = NULL");

View File

@ -1,7 +1,7 @@
# Template file for 'kodi'
pkgname=kodi
version=19.4
revision=3
revision=4
_codename="Matrix"
wrksrc="xbmc-${version}-${_codename}"
build_style=cmake