Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Quentin Schulz <quentin.schulz@cherry.de>
To: adam.duskett@amarulasolutions.com,
	openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH 2/5] libtoml: new recipe
Date: Thu, 11 Dec 2025 12:26:13 +0100	[thread overview]
Message-ID: <2afd21ea-e12b-4caa-9aff-0a23b426612b@cherry.de> (raw)
In-Reply-To: <20251210110340.3631065-2-adam.duskett@amarulasolutions.com>

Hi Adam,

On 12/10/25 12:03 PM, Adam Duskett via lists.openembedded.org wrote:
> [You don't often get email from adam.duskett=amarulasolutions.com@lists.openembedded.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ]
> 
> DNF5 requires libtoml. As such, copy libtoml from
> meta-openembedded to openembedded-core.
> 
> Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
> ---
>   .../0001-Remove-whitespace-in-operator.patch  | 46 +++++++++++++++++++
>   .../libtoml11/files/run-ptest                 | 12 +++++
>   .../libtoml11/libtoml11_4.4.0.bb              | 40 ++++++++++++++++
>   3 files changed, 98 insertions(+)
>   create mode 100644 meta/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch
>   create mode 100755 meta/recipes-devtools/libtoml11/files/run-ptest
>   create mode 100644 meta/recipes-devtools/libtoml11/libtoml11_4.4.0.bb
> 
> diff --git a/meta/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch b/meta/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch
> new file mode 100644
> index 0000000000..c8c9922d55
> --- /dev/null
> +++ b/meta/recipes-devtools/libtoml11/files/0001-Remove-whitespace-in-operator.patch
> @@ -0,0 +1,46 @@
> +From dee78f822d8a5b985e565e5c1ef42a59557aa8fc Mon Sep 17 00:00:00 2001
> +From: Khem Raj <raj.khem@gmail.com>
> +Date: Fri, 7 Mar 2025 11:35:46 -0800
> +Subject: [PATCH] Remove whitespace in operator""
> +
> +Clang 20+ errors about this whitespace.
> +
> +Fixes
> +include/toml11/impl/../fwd/literal_fwd.hpp:22:26: error: identifier '_toml' preceded by whitespace in a literal operator declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
> +|    22 | ::toml::value operator"" _toml(const char* str, std::size_t len);
> +|       |               ~~~~~~~~~~~^~~~~
> +|       |               operator""_toml
> +
> +Upstream-Status: Submitted [https://github.com/ToruNiina/toml11/pull/285]

This is now merged, so should be a backport. Please don't simply 
rephrase, but also check that the content is the same as merged (or 
simply do a proper backport).

Since you're importing verbatim, a good idea could be to have a 
follow-up patch that changes that.

(Thanks Khem for sending the patch upstream!).

Cheers,
Quentin


  parent reply	other threads:[~2025-12-11 11:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-10 11:03 [PATCH 1/5] signing-keys.bb: Fix DISTRO_CODENAME truncation Adam Duskett
2025-12-10 11:03 ` [PATCH 2/5] libtoml: new recipe Adam Duskett
2025-12-10 11:41   ` [OE-core] " Gyorgy Sarvari
2025-12-11 11:26   ` Quentin Schulz [this message]
2025-12-10 11:03 ` [PATCH 3/5] libsolv: explicitly enable comps for rpm packageconfig Adam Duskett
2025-12-10 11:03 ` [PATCH 4/5] librepo: add PACKAGECONFIG[sequoia] Adam Duskett
2025-12-10 11:03 ` [PATCH 5/5] dnf5: bump to 5.3.0.0 Adam Duskett
2025-12-10 14:27   ` [OE-core] " Gyorgy Sarvari
2025-12-10 14:40     ` Alexander Kanavin
2025-12-10 17:53       ` Khem Raj
2025-12-10 15:45     ` Adam Duskett
2025-12-10 14:38   ` Paul Barker

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=2afd21ea-e12b-4caa-9aff-0a23b426612b@cherry.de \
    --to=quentin.schulz@cherry.de \
    --cc=adam.duskett@amarulasolutions.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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