git: e7585c5311b2 - main - multimedia/kodi: Fix build with libfmt 8.0.0

Po-Chuan Hsieh sunpoet at FreeBSD.org
Wed Jul 21 18:15:15 UTC 2021


The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e7585c5311b223c87908dfcd318d2da3264c8d28

commit e7585c5311b223c87908dfcd318d2da3264c8d28
Author:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-07-21 17:59:45 +0000
Commit:     Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-07-21 18:12:13 +0000

    multimedia/kodi: Fix build with libfmt 8.0.0
    
    Based on:       https://github.com/xbmc/xbmc/commit/c8fa9e3c2fe296fea6002f344774ce1cfacc48c8
---
 multimedia/kodi/files/patch-libfmt | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/multimedia/kodi/files/patch-libfmt b/multimedia/kodi/files/patch-libfmt
new file mode 100644
index 000000000000..5a9f248df936
--- /dev/null
+++ b/multimedia/kodi/files/patch-libfmt
@@ -0,0 +1,13 @@
+--- xbmc/utils/StringUtils.h.orig	2021-05-08 16:20:52 UTC
++++ xbmc/utils/StringUtils.h
+@@ -37,6 +37,10 @@
+ #include <fmt/printf.h>
+ #endif
+ 
++#if FMT_VERSION >= 80000
++#include <fmt/xchar.h>
++#endif
++
+ #include "XBDateTime.h"
+ #include "utils/params_check_macros.h"
+ 


More information about the dev-commits-ports-all mailing list