maintainer-feedback requested: [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


Bugzilla Automation <bugzilla at FreeBSD.org> has asked freebsd-kde (group)
<kde at FreeBSD.org> for maintainer-feedback:
Bug 279139: security/kleopatra: Fix build against libc++ 18
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279139



--- Description ---
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.


More information about the kde-freebsd mailing list