Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2024 20:18:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 279139] security/kleopatra: Fix build against libc++ 18
Message-ID:  <bug-279139-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D279139

            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=3D250798&action=
=3Dedit
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 ma=
cro,
_LIBCPP_ENABLE_CXX20_REMOVED_SHARED_PTR_UNIQUE, allowing to recover that me=
mber
function.

Source code modification submitted upstream at:
https://invent.kde.org/pim/kleopatra/-/merge_requests/205

Thanks and regards.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279139-7788>