From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/
Date: Mon, 30 Sep 2024 18:03:00 +0000 (UTC) [thread overview]
Message-ID: <1727719373.c2bd711b28713bbd9cd476757a8ea8ba7331e428.soap@gentoo> (raw)
commit: c2bd711b28713bbd9cd476757a8ea8ba7331e428
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Mon Sep 30 18:02:53 2024 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Mon Sep 30 18:02:53 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2bd711b
dev-libs/boost: add boost.compute patch
Bug: https://bugs.gentoo.org/940042
Signed-off-by: David Seifert <soap <AT> gentoo.org>
...{boost-1.86.0.ebuild => boost-1.86.0-r1.ebuild} | 4 +++
.../files/boost-1.86.0-uuid-compute-backport.patch | 30 ++++++++++++++++++++++
2 files changed, 34 insertions(+)
diff --git a/dev-libs/boost/boost-1.86.0.ebuild b/dev-libs/boost/boost-1.86.0-r1.ebuild
similarity index 98%
rename from dev-libs/boost/boost-1.86.0.ebuild
rename to dev-libs/boost/boost-1.86.0-r1.ebuild
index 93350d1a6c7c..fc1acbc2b0ee 100644
--- a/dev-libs/boost/boost-1.86.0.ebuild
+++ b/dev-libs/boost/boost-1.86.0-r1.ebuild
@@ -52,6 +52,10 @@ PATCHES=(
"${FILESDIR}"/${PN}-1.79.0-build-auto_index-tool.patch
"${FILESDIR}"/${PN}-1.85.0-bcp-filesystem.patch
"${FILESDIR}"/${PN}-1.85.0-python-numpy-2.patch
+
+ # backports
+ # https://github.com/boostorg/compute/issues/889
+ "${FILESDIR}"/${PN}-1.86.0-uuid-compute-backport.patch
)
create_user-config.jam() {
diff --git a/dev-libs/boost/files/boost-1.86.0-uuid-compute-backport.patch b/dev-libs/boost/files/boost-1.86.0-uuid-compute-backport.patch
new file mode 100644
index 000000000000..9fcf80680989
--- /dev/null
+++ b/dev-libs/boost/files/boost-1.86.0-uuid-compute-backport.patch
@@ -0,0 +1,30 @@
+From 4ab28f5b879c8a2335b851f5338b9012f4466dd0 Mon Sep 17 00:00:00 2001
+From: sehe <github@sehe.nl>
+Date: Mon, 19 Aug 2024 17:42:31 +0200
+Subject: [PATCH] Update sha1.hpp for breaking interface change in Boost.UUID
+
+see https://github.com/boostorg/uuid/commit/0f843137a1a479797004f195ec615fdc6ac1c219
+---
+ boost/compute/detail/sha1.hpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/boost/compute/detail/sha1.hpp b/boost/compute/detail/sha1.hpp
+index 5afe5f9c4..24fde3cd1 100644
+--- a/boost/compute/detail/sha1.hpp
++++ b/boost/compute/detail/sha1.hpp
+@@ -37,12 +37,12 @@ class sha1 {
+ }
+
+ operator std::string() {
+- unsigned int digest[5];
++ unsigned char digest[20];
+ h.get_digest(digest);
+
+ std::ostringstream buf;
+- for(int i = 0; i < 5; ++i)
+- buf << std::hex << std::setfill('0') << std::setw(8) << digest[i];
++ for(int i = 0; i < 20; ++i)
++ buf << std::hex << std::setfill('0') << std::setw(2) << static_cast<int>(digest[i]);
+
+ return buf.str();
+ }
next reply other threads:[~2024-09-30 18:03 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-30 18:03 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-12-17 21:44 [gentoo-commits] repo/gentoo:master commit in: dev-libs/boost/, dev-libs/boost/files/ Andreas Sturmlechner
2024-07-16 23:04 Sam James
2024-06-03 1:31 Sam James
2024-02-17 14:27 David Seifert
2024-01-01 21:34 David Seifert
2023-10-08 4:22 Sam James
2023-05-20 16:38 David Seifert
2022-12-16 2:52 Sam James
2022-11-12 0:05 Sam James
2022-07-13 18:12 David Seifert
2022-02-03 4:25 Sam James
2021-12-01 17:24 Sam James
2021-06-20 16:54 Andreas Sturmlechner
2021-05-24 21:38 Sam James
2020-11-24 19:59 Andreas Sturmlechner
2020-08-02 10:09 David Seifert
2020-06-07 12:40 David Seifert
2020-05-02 14:26 David Seifert
2019-12-21 12:55 David Seifert
2019-12-07 21:43 David Seifert
2019-12-07 19:48 David Seifert
2019-04-21 19:18 David Seifert
2019-04-16 11:39 David Seifert
2019-04-16 11:39 David Seifert
2019-04-15 0:22 David Seifert
2018-02-11 17:07 Andreas Sturmlechner
2017-09-03 17:47 David Seifert
2016-04-13 19:06 David Seifert
2016-03-30 22:50 David Seifert
2015-08-25 11:36 Sergey Popov
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=1727719373.c2bd711b28713bbd9cd476757a8ea8ba7331e428.soap@gentoo \
--to=soap@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.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