View | Details | Raw Unified | Return to bug 268496
Collapse All | Expand All

(-)kodi/Makefile (-1 / +1 lines)
Lines 1-6 Link Here
1
PORTNAME=	kodi
1
PORTNAME=	kodi
2
DISTVERSION=	19.4
2
DISTVERSION=	19.4
3
PORTREVISION=	7
3
PORTREVISION=	8
4
CATEGORIES=	multimedia java
4
CATEGORIES=	multimedia java
5
5
6
MAINTAINER=	yzrh@noema.org
6
MAINTAINER=	yzrh@noema.org
(-)kodi/files/patch-xbmc_utils_GLUtils.cpp (+35 lines)
Line 0 Link Here
1
--- xbmc/utils/GLUtils.cpp.orig	2022-12-21 00:14:18 UTC
2
+++ xbmc/utils/GLUtils.cpp
3
@@ -148,27 +148,27 @@ void _VerifyGLState(const char* szfile, const char* sz
4
 void LogGraphicsInfo()
5
 {
6
 #if defined(HAS_GL) || defined(HAS_GLES)
7
-  const GLubyte *s;
8
+  const char *s;
9
 
10
-  s = glGetString(GL_VENDOR);
11
+  s = reinterpret_cast<const char*>(glGetString(GL_VENDOR));
12
   if (s)
13
     CLog::Log(LOGINFO, "GL_VENDOR = %s", s);
14
   else
15
     CLog::Log(LOGINFO, "GL_VENDOR = NULL");
16
 
17
-  s = glGetString(GL_RENDERER);
18
+  s = reinterpret_cast<const char*>(glGetString(GL_RENDERER));
19
   if (s)
20
     CLog::Log(LOGINFO, "GL_RENDERER = %s", s);
21
   else
22
     CLog::Log(LOGINFO, "GL_RENDERER = NULL");
23
 
24
-  s = glGetString(GL_VERSION);
25
+  s = reinterpret_cast<const char*>(glGetString(GL_VERSION));
26
   if (s)
27
     CLog::Log(LOGINFO, "GL_VERSION = %s", s);
28
   else
29
     CLog::Log(LOGINFO, "GL_VERSION = NULL");
30
 
31
-  s = glGetString(GL_SHADING_LANGUAGE_VERSION);
32
+  s = reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION));
33
   if (s)
34
     CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s);
35
   else
(-)kodi/files/patch-xbmc_windowing_X11_WinSystemX11.cpp (+14 lines)
Line 0 Link Here
1
--- xbmc/windowing/X11/WinSystemX11.cpp.orig	2022-12-21 00:19:40 UTC
2
+++ xbmc/windowing/X11/WinSystemX11.cpp
3
@@ -1038,7 +1038,10 @@ bool CWinSystemX11::HasWindowManager()
4
 
5
   if(status == Success && items_read)
6
   {
7
-    CLog::Log(LOGDEBUG,"Window Manager Name: %s", data);
8
+    const char* s;
9
+
10
+    s = reinterpret_cast<const char*>(data);
11
+    CLog::Log(LOGDEBUG,"Window Manager Name: {}", s);
12
   }
13
   else
14
     CLog::Log(LOGDEBUG,"Window Manager Name: ");

Return to bug 268496