From 3c94d6ee960dd5e906dc1bd62fd1410e9283154c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 1 Sep 2022 01:19:36 +0700 Subject: [PATCH] kodi: revbump for fmt 9.0 --- srcpkgs/kodi/patches/fmt-9.patch | 44 ++++++++++++++++++++++++++++++++ srcpkgs/kodi/template | 2 +- 2 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/kodi/patches/fmt-9.patch diff --git a/srcpkgs/kodi/patches/fmt-9.patch b/srcpkgs/kodi/patches/fmt-9.patch new file mode 100644 index 00000000000..aba5f9b67b5 --- /dev/null +++ b/srcpkgs/kodi/patches/fmt-9.patch @@ -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"); + diff --git a/srcpkgs/kodi/template b/srcpkgs/kodi/template index d3e9a13afdd..4b6c9e1ade0 100644 --- a/srcpkgs/kodi/template +++ b/srcpkgs/kodi/template @@ -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