Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v1] package/kmsxx: fix fmt dependency (needs wchar)
Date: Sun, 13 Dec 2020 22:45:52 +0100	[thread overview]
Message-ID: <20201213214552.GL3281876@scaer> (raw)
In-Reply-To: <20201213102446.19942-1-ps.report@gmx.net>

Peter, All,

On 2020-12-13 11:24 +0100, Peter Seiderer spake thusly:
> Propagate the fmt dependency on wchar.
> 
> Fixes:
> 
>  - http://autobuild.buildroot.net/results/814b0f9c3df0076791ca73579b844ef4d56f13c3
> 
>   [ 66%] Building CXX object CMakeFiles/fmt.dir/src/os.cc.o
>   In file included from .../build/fmt-7.1.3/include/fmt/os.h:26,
>                    from .../build/fmt-7.1.3/src/os.cc:13:
>   .../build/fmt-7.1.3/include/fmt/format.h:1139:8: error: 'wstring' in namespace 'std' does not name a type
>      std::wstring str() const { return {&buffer_[0], size()}; }
>           ^~~~~~~
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/kmsxx/Config.in | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
> 
> diff --git a/package/kmsxx/Config.in b/package/kmsxx/Config.in
> index 6e4d1e61a1..fa327ba18d 100644
> --- a/package/kmsxx/Config.in
> +++ b/package/kmsxx/Config.in
> @@ -4,6 +4,7 @@ config BR2_PACKAGE_KMSXX
>  	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 # linux/dma-buf.h
>  	depends on BR2_INSTALL_LIBSTDCPP
>  	depends on BR2_TOOLCHAIN_HAS_THREADS # libdrm
> +	depends on BR2_USE_WCHAR # fmt
>  	select BR2_PACKAGE_FMT
>  	select BR2_PACKAGE_LIBDRM
>  	help
> @@ -22,6 +23,7 @@ config BR2_PACKAGE_KMSXX_INSTALL_TESTS
>  
>  endif
>  
> -comment "kms++ needs a toolchain w/ threads, C++, gcc >= 4.8, headers >= 4.11"
> +comment "kms++ needs a toolchain w/ threads, C++, gcc >= 4.8, headers >= 4.11, wchar"
>  	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
> -		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11
> +		!BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_4_11 \
> +		|| !BR2_USE_WCHAR
> -- 
> 2.29.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

      reply	other threads:[~2020-12-13 21:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-13 10:24 [Buildroot] [PATCH v1] package/kmsxx: fix fmt dependency (needs wchar) Peter Seiderer
2020-12-13 21:45 ` Yann E. MORIN [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201213214552.GL3281876@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox