[Bug 279139] security/kleopatra: Fix build against libc++ 18
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat May 18 21:18:08 BST 2024
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279139
Bug ID: 279139
Summary: security/kleopatra: Fix build against libc++ 18
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: kde at FreeBSD.org
Reporter: olce at FreeBSD.org
Assignee: kde at FreeBSD.org
Flags: maintainer-feedback?(kde at FreeBSD.org)
Created attachment 250798
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=250798&action=edit
Patch fixing the build against libc++ 18
Kleopatra uses unique() on std::shared_ptr, which is deprecated and is by
default not exposed by libc++ 18. Fortunately, the latter defines a new macro,
_LIBCPP_ENABLE_CXX20_REMOVED_SHARED_PTR_UNIQUE, allowing to recover that member
function.
Source code modification submitted upstream at:
https://invent.kde.org/pim/kleopatra/-/merge_requests/205
Thanks and regards.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the kde-freebsd
mailing list