All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/kodi: fix build with fmt 8.x
@ 2021-09-26 11:05 Bernd Kuhls
  2021-09-26 19:50 ` Arnout Vandecappelle
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2021-09-26 11:05 UTC (permalink / raw)
  To: buildroot

Backport upstream patch, no autobuild errors detected so far.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
---
 .../kodi/0002-utils-include-fmt-xchar.h.patch | 34 +++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 package/kodi/0002-utils-include-fmt-xchar.h.patch

diff --git a/package/kodi/0002-utils-include-fmt-xchar.h.patch b/package/kodi/0002-utils-include-fmt-xchar.h.patch
new file mode 100644
index 0000000000..70c88412e9
--- /dev/null
+++ b/package/kodi/0002-utils-include-fmt-xchar.h.patch
@@ -0,0 +1,34 @@
+From 18ff80a9c169fb969b75e2143d9f1f234b71a730 Mon Sep 17 00:00:00 2001
+From: Craig Andrews <candrews@integralblue.com>
+Date: Thu, 24 Jun 2021 20:41:11 -0400
+Subject: [PATCH] [utils] include fmt/xchar.h
+
+fmt 8 moved wchar/custom char overloads to xchar.h, so for fmt 8 compatibility, xchar.h must be included
+
+See https://github.com/fmtlib/fmt/commit/76ee490468212f8705a1421b4c88f8f814b2d351
+
+Downloaded from upstream commit
+https://github.com/xbmc/xbmc/commit/18ff80a9c169fb969b75e2143d9f1f234b71a730
+
+Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
+---
+ xbmc/utils/StringUtils.h | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/xbmc/utils/StringUtils.h b/xbmc/utils/StringUtils.h
+index ca6f82953d..2dc5c3f03a 100644
+--- a/xbmc/utils/StringUtils.h
++++ b/xbmc/utils/StringUtils.h
+@@ -36,6 +36,9 @@
+ #if FMT_VERSION >= 40000
+ #include <fmt/printf.h>
+ #endif
++#if FMT_VERSION >= 80000
++#include <fmt/xchar.h>
++#endif
+ 
+ #include "XBDateTime.h"
+ #include "utils/params_check_macros.h"
+-- 
+2.30.2
+
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH 1/1] package/kodi: fix build with fmt 8.x
  2021-09-26 11:05 [Buildroot] [PATCH 1/1] package/kodi: fix build with fmt 8.x Bernd Kuhls
@ 2021-09-26 19:50 ` Arnout Vandecappelle
  0 siblings, 0 replies; 2+ messages in thread
From: Arnout Vandecappelle @ 2021-09-26 19:50 UTC (permalink / raw)
  To: Bernd Kuhls, buildroot



On 26/09/2021 13:05, Bernd Kuhls wrote:
> Backport upstream patch, no autobuild errors detected so far.
> 
> Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   .../kodi/0002-utils-include-fmt-xchar.h.patch | 34 +++++++++++++++++++
>   1 file changed, 34 insertions(+)
>   create mode 100644 package/kodi/0002-utils-include-fmt-xchar.h.patch
> 
> diff --git a/package/kodi/0002-utils-include-fmt-xchar.h.patch b/package/kodi/0002-utils-include-fmt-xchar.h.patch
> new file mode 100644
> index 0000000000..70c88412e9
> --- /dev/null
> +++ b/package/kodi/0002-utils-include-fmt-xchar.h.patch
> @@ -0,0 +1,34 @@
> +From 18ff80a9c169fb969b75e2143d9f1f234b71a730 Mon Sep 17 00:00:00 2001
> +From: Craig Andrews <candrews@integralblue.com>
> +Date: Thu, 24 Jun 2021 20:41:11 -0400
> +Subject: [PATCH] [utils] include fmt/xchar.h
> +
> +fmt 8 moved wchar/custom char overloads to xchar.h, so for fmt 8 compatibility, xchar.h must be included
> +
> +See https://github.com/fmtlib/fmt/commit/76ee490468212f8705a1421b4c88f8f814b2d351
> +
> +Downloaded from upstream commit
> +https://github.com/xbmc/xbmc/commit/18ff80a9c169fb969b75e2143d9f1f234b71a730
> +
> +Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
> +---
> + xbmc/utils/StringUtils.h | 3 +++
> + 1 file changed, 3 insertions(+)
> +
> +diff --git a/xbmc/utils/StringUtils.h b/xbmc/utils/StringUtils.h
> +index ca6f82953d..2dc5c3f03a 100644
> +--- a/xbmc/utils/StringUtils.h
> ++++ b/xbmc/utils/StringUtils.h
> +@@ -36,6 +36,9 @@
> + #if FMT_VERSION >= 40000
> + #include <fmt/printf.h>
> + #endif
> ++#if FMT_VERSION >= 80000
> ++#include <fmt/xchar.h>
> ++#endif
> +
> + #include "XBDateTime.h"
> + #include "utils/params_check_macros.h"
> +--
> +2.30.2
> +
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-26 19:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-26 11:05 [Buildroot] [PATCH 1/1] package/kodi: fix build with fmt 8.x Bernd Kuhls
2021-09-26 19:50 ` Arnout Vandecappelle

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.