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: k...@freebsd.org
          Reporter: o...@freebsd.org
          Assignee: k...@freebsd.org
             Flags: maintainer-feedback?(k...@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.

Reply via email to