FreeBSD Bugzilla – Attachment 238952 Details for
Bug 268496
multimedia/kodi: Fix build with new devel/libfmt (9.1.0)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for libfmt 9
libfmt.patch (text/plain), 2.46 KB, created by
yzrh
on 2022-12-21 01:32:02 UTC
(
hide
)
Description:
patch for libfmt 9
Filename:
MIME Type:
Creator:
yzrh
Created:
2022-12-21 01:32:02 UTC
Size:
2.46 KB
patch
obsolete
>diff -urN kodi.orig/Makefile kodi/Makefile >--- kodi.orig/Makefile 2022-12-21 00:10:17.673651000 +0000 >+++ kodi/Makefile 2022-12-21 00:12:02.670704000 +0000 >@@ -1,6 +1,6 @@ > PORTNAME= kodi > DISTVERSION= 19.4 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= multimedia java > > MAINTAINER= yzrh@noema.org >diff -urN kodi.orig/files/patch-xbmc_utils_GLUtils.cpp kodi/files/patch-xbmc_utils_GLUtils.cpp >--- kodi.orig/files/patch-xbmc_utils_GLUtils.cpp 1970-01-01 00:00:00.000000000 +0000 >+++ kodi/files/patch-xbmc_utils_GLUtils.cpp 2022-12-21 00:26:26.816409000 +0000 >@@ -0,0 +1,35 @@ >+--- xbmc/utils/GLUtils.cpp.orig 2022-12-21 00:14:18 UTC >++++ xbmc/utils/GLUtils.cpp >+@@ -148,27 +148,27 @@ void _VerifyGLState(const char* szfile, const char* sz >+ void LogGraphicsInfo() >+ { >+ #if defined(HAS_GL) || defined(HAS_GLES) >+- const GLubyte *s; >++ const char *s; >+ >+- s = glGetString(GL_VENDOR); >++ s = reinterpret_cast<const char*>(glGetString(GL_VENDOR)); >+ if (s) >+ CLog::Log(LOGINFO, "GL_VENDOR = %s", s); >+ else >+ CLog::Log(LOGINFO, "GL_VENDOR = NULL"); >+ >+- s = glGetString(GL_RENDERER); >++ s = reinterpret_cast<const char*>(glGetString(GL_RENDERER)); >+ if (s) >+ CLog::Log(LOGINFO, "GL_RENDERER = %s", s); >+ else >+ CLog::Log(LOGINFO, "GL_RENDERER = NULL"); >+ >+- s = glGetString(GL_VERSION); >++ s = reinterpret_cast<const char*>(glGetString(GL_VERSION)); >+ if (s) >+ CLog::Log(LOGINFO, "GL_VERSION = %s", s); >+ else >+ CLog::Log(LOGINFO, "GL_VERSION = NULL"); >+ >+- s = glGetString(GL_SHADING_LANGUAGE_VERSION); >++ s = reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION)); >+ if (s) >+ CLog::Log(LOGINFO, "GL_SHADING_LANGUAGE_VERSION = %s", s); >+ else >diff -urN kodi.orig/files/patch-xbmc_windowing_X11_WinSystemX11.cpp kodi/files/patch-xbmc_windowing_X11_WinSystemX11.cpp >--- kodi.orig/files/patch-xbmc_windowing_X11_WinSystemX11.cpp 1970-01-01 00:00:00.000000000 +0000 >+++ kodi/files/patch-xbmc_windowing_X11_WinSystemX11.cpp 2022-12-21 00:26:26.819703000 +0000 >@@ -0,0 +1,14 @@ >+--- xbmc/windowing/X11/WinSystemX11.cpp.orig 2022-12-21 00:19:40 UTC >++++ xbmc/windowing/X11/WinSystemX11.cpp >+@@ -1038,7 +1038,10 @@ bool CWinSystemX11::HasWindowManager() >+ >+ if(status == Success && items_read) >+ { >+- CLog::Log(LOGDEBUG,"Window Manager Name: %s", data); >++ const char* s; >++ >++ s = reinterpret_cast<const char*>(data); >++ CLog::Log(LOGDEBUG,"Window Manager Name: {}", s); >+ } >+ else >+ CLog::Log(LOGDEBUG,"Window Manager Name: ");
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 268496
: 238952 |
238953