[Bug 279139] security/kleopatra: Fix build against libc++ 18
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 22 20:52:16 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279139
--- Comment #2 from commit-hook at FreeBSD.org ---
A commit in branch main references this bug:
URL:
https://cgit.FreeBSD.org/ports/commit/?id=97eecf838ae8e88c56c7f97080adce0dc593a491
commit 97eecf838ae8e88c56c7f97080adce0dc593a491
Author: Olivier Certner <olce at FreeBSD.org>
AuthorDate: 2024-05-22 19:08:41 +0000
Commit: Olivier Certner <olce at FreeBSD.org>
CommitDate: 2024-05-22 19:51:01 +0000
security/kleopatra: Fix build against libc++18
libc++ 18 by default removes unique() in 'std::shared_ptr' (in <memory>),
as
a follow-up to this resolution:
https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2016/p0521r0.html
An alternative would be to get it back by defining
_LIBCPP_ENABLE_CXX20_REMOVED_SHARED_PTR_UNIQUE before including the libc++
headers, but trying to fight the standard may not be a wise move going
forward,
especially if/as other C++ libraries follow suit.
Upstream MR (approved) is at
https://invent.kde.org/pim/kleopatra/-/merge_requests/205.
PR: 279139
Approved by: kde (maintainer)
Approved by: jrm (ports)
Approved by: markj (mentor)
.../kleopatra/files/patch-src_crypto_recipient.cpp (new) | 14 ++++++++++++++
security/kleopatra/files/patch-src_crypto_sender.cpp (new) | 14 ++++++++++++++
2 files changed, 28 insertions(+)
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list