[Bug 279139] security/kleopatra: Fix build against libc++ 18
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 May 2024 20:18:08 UTC
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@FreeBSD.org Reporter: olce@FreeBSD.org Assignee: kde@FreeBSD.org Flags: maintainer-feedback?(kde@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.