summaryrefslogtreecommitdiff
path: root/media-tv/kodi/files/libfmt8.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-tv/kodi/files/libfmt8.patch')
-rw-r--r--media-tv/kodi/files/libfmt8.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/media-tv/kodi/files/libfmt8.patch b/media-tv/kodi/files/libfmt8.patch
new file mode 100644
index 00000000..2b6badc7
--- /dev/null
+++ b/media-tv/kodi/files/libfmt8.patch
@@ -0,0 +1,14 @@
+diff -Nur a/xbmc/utils/StringUtils.h b/xbmc/utils/StringUtils.h
+--- a/xbmc/utils/StringUtils.h 2021-05-08 17:20:52.000000000 +0100
++++ b/xbmc/utils/StringUtils.h 2021-06-25 04:24:46.891420222 +0100
+@@ -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"
+