Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Yann E. MORIN" <yann.morin.1998@free.fr>
To: Michael Nosthoff <buildroot@heine.tech>
Cc: buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH] package/boost: bump to version 1.83.0
Date: Fri, 15 Sep 2023 23:31:01 +0200	[thread overview]
Message-ID: <20230915213101.GH2571@scaer> (raw)
In-Reply-To: <20230915124933.2975234-1-buildroot@heine.tech>

Michael, All,

On 2023-09-15 14:49 +0200, Michael Nosthoff via buildroot spake thusly:
> - add upstream patch for Unordered available on the Release Page.
> Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
[--SNIP--]
> diff --git a/package/boost/0001-unordered-fix-copy-assign.patch b/package/boost/0001-unordered-fix-copy-assign.patch
> new file mode 100644
> index 0000000000..55f5ccf245
> --- /dev/null
> +++ b/package/boost/0001-unordered-fix-copy-assign.patch
> @@ -0,0 +1,22 @@
> +Upstream Patch for Unordered
> +
> +Prevent erroneous copying of groups data, update max load to properly propagate
> +
> +Signed-off-by: Michael Nosthoff <buildroot@heine.tech>
> +Upstream: https://github.com/boostorg/unordered/pull/210

We prefer that an Upstream references the actual commit, not the
pull-request:
    https://github.com/boostorg/unordered/commit/067884a4e213352e7c81c441f1453c54735c39f3

If the pull request contains important data that we need to know of,
then reference the pull-request in the (buildroot) commit log, maybe
with a little summary.

In this case, it dopes nt contain anythng interesting, so I just
replaced the url with the one to the commit.

Applied to master, thanks.

Regards,
Yann E. MORIN.

> +diff --git a/include/boost/unordered/detail/foa/core.hpp b/include/boost/unordered/detail/foa/core.hpp
> +index 239d05d3..7ae9f2c8 100644
> +--- a/boost/unordered/detail/foa/core.hpp
> ++++ b/boost/unordered/detail/foa/core.hpp
> +@@ -1870,9 +1870,10 @@ private:
> + 
> +   void fast_copy_elements_from(const table_core& x)
> +   {
> +-    if(arrays.elements){
> ++    if(arrays.elements&&x.arrays.elements){
> +       copy_elements_array_from(x);
> +       copy_groups_array_from(x);
> ++      size_ctrl.ml=std::size_t(x.size_ctrl.ml);
> +       size_ctrl.size=std::size_t(x.size_ctrl.size);
> +     }
> +   }
> diff --git a/package/boost/boost.hash b/package/boost/boost.hash
> index 36de2b9b06..14403758ac 100644
> --- a/package/boost/boost.hash
> +++ b/package/boost/boost.hash
> @@ -1,5 +1,5 @@
> -# From https://www.boost.org/users/history/version_1_82_0.html
> -sha256  a6e1ab9b0860e6a2881dd7b21fe9f737a095e5f33a3a874afc6a345228597ee6  boost_1_82_0.tar.bz2
> +# From https://www.boost.org/users/history/version_1_83_0.html
> +sha256  6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e  boost_1_83_0.tar.bz2
>  
>  # Locally computed
>  sha256  c9bff75738922193e67fa726fa225535870d2aa1059f91452c411736284ad566  LICENSE_1_0.txt
> diff --git a/package/boost/boost.mk b/package/boost/boost.mk
> index d432ab48cc..9b1baec5bf 100644
> --- a/package/boost/boost.mk
> +++ b/package/boost/boost.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -BOOST_VERSION = 1.82.0
> +BOOST_VERSION = 1.83.0
>  BOOST_SOURCE = boost_$(subst .,_,$(BOOST_VERSION)).tar.bz2
>  BOOST_SITE = https://boostorg.jfrog.io/artifactory/main/release/$(BOOST_VERSION)/source
>  BOOST_INSTALL_STAGING = YES
> -- 
> 2.34.1
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/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.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2023-09-15 21:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-15 12:49 [Buildroot] [PATCH] package/boost: bump to version 1.83.0 Michael Nosthoff via buildroot
2023-09-15 21:31 ` 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=20230915213101.GH2571@scaer \
    --to=yann.morin.1998@free.fr \
    --cc=buildroot@buildroot.org \
    --cc=buildroot@heine.tech \
    /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