aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 17:59:45 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 18:12:13 +0000
commite7585c5311b223c87908dfcd318d2da3264c8d28 (patch)
tree4f8bd7500f8b798a9825c2349fb4038e3d0a7256
parent2fdac17cd2719c1774b9b9ebe8b44711e87d4c75 (diff)
downloadports-e7585c5311b223c87908dfcd318d2da3264c8d28.tar.gz
ports-e7585c5311b223c87908dfcd318d2da3264c8d28.zip
multimedia/kodi: Fix build with libfmt 8.0.0
-rw-r--r--multimedia/kodi/files/patch-libfmt13
1 files changed, 13 insertions, 0 deletions
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"
+